diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2023-12-07 20:32:45 +0100 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2023-12-07 20:32:45 +0100 |
| commit | da6a7d5c69aa3e8b70755e88be0f44b642422114 (patch) | |
| tree | bb64c8f76a0655b0967d73d7de3541fe2825aa57 /modules/pgbackrest.nix | |
| parent | 26ba0280e38648a787a5ef60807f91765c40d1d5 (diff) | |
| download | nixos-da6a7d5c69aa3e8b70755e88be0f44b642422114.tar nixos-da6a7d5c69aa3e8b70755e88be0f44b642422114.tar.gz nixos-da6a7d5c69aa3e8b70755e88be0f44b642422114.tar.bz2 nixos-da6a7d5c69aa3e8b70755e88be0f44b642422114.tar.xz nixos-da6a7d5c69aa3e8b70755e88be0f44b642422114.zip | |
bump
Diffstat (limited to 'modules/pgbackrest.nix')
| -rw-r--r-- | modules/pgbackrest.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/pgbackrest.nix b/modules/pgbackrest.nix index ca319ccd..ac0f9a35 100644 --- a/modules/pgbackrest.nix +++ b/modules/pgbackrest.nix | |||
| @@ -54,6 +54,7 @@ in { | |||
| 54 | stanza = mkOption { | 54 | stanza = mkOption { |
| 55 | type = types.str; | 55 | type = types.str; |
| 56 | default = config.networking.hostName; | 56 | default = config.networking.hostName; |
| 57 | defaultText = literalExpression "config.networking.hostName"; | ||
| 57 | }; | 58 | }; |
| 58 | }; | 59 | }; |
| 59 | 60 | ||
| @@ -115,6 +116,7 @@ in { | |||
| 115 | stanza = mkOption { | 116 | stanza = mkOption { |
| 116 | type = types.str; | 117 | type = types.str; |
| 117 | default = cfg.configurePostgresql.stanza; | 118 | default = cfg.configurePostgresql.stanza; |
| 119 | defaultText = literalExpression "config.services.pgbackrest.configurePostgresql.stanza"; | ||
| 118 | }; | 120 | }; |
| 119 | repo = mkOption { | 121 | repo = mkOption { |
| 120 | type = types.nullOr (types.strMatching "^[0-9]+$"); | 122 | type = types.nullOr (types.strMatching "^[0-9]+$"); |
