summaryrefslogtreecommitdiff
path: root/modules/pgbackrest.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2023-09-23 16:48:17 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2023-09-23 16:48:17 +0200
commitff504f0d6c9f22430412bacc5ae82d5f27ce077f (patch)
tree43d34db26cc85a7e34ad6e2a6171f80cccc2a839 /modules/pgbackrest.nix
parentcb118fd08ceac4607bd53298810c5685220f5faf (diff)
downloadnixos-ff504f0d6c9f22430412bacc5ae82d5f27ce077f.tar
nixos-ff504f0d6c9f22430412bacc5ae82d5f27ce077f.tar.gz
nixos-ff504f0d6c9f22430412bacc5ae82d5f27ce077f.tar.bz2
nixos-ff504f0d6c9f22430412bacc5ae82d5f27ce077f.tar.xz
nixos-ff504f0d6c9f22430412bacc5ae82d5f27ce077f.zip
...
Diffstat (limited to 'modules/pgbackrest.nix')
-rw-r--r--modules/pgbackrest.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pgbackrest.nix b/modules/pgbackrest.nix
index d4a4f9d6..41a7b381 100644
--- a/modules/pgbackrest.nix
+++ b/modules/pgbackrest.nix
@@ -143,7 +143,7 @@ in {
143 environment.systemPackages = [ cfg.package ]; 143 environment.systemPackages = [ cfg.package ];
144 144
145 services.postgresql.settings = mkIf cfg.configurePostgresql.enable { 145 services.postgresql.settings = mkIf cfg.configurePostgresql.enable {
146 archive_command = "pgbackrest --stanza ${cfg.configurePostgresql.stanza} archive-push %p"; 146 archive_command = "pgbackrest --stanza ${escapeSystemdExecArg cfg.configurePostgresql.stanza} archive-push %p";
147 archive_mode = true; 147 archive_mode = true;
148 max_wal_senders = mkDefault 3; 148 max_wal_senders = mkDefault 3;
149 wal_level = "replica"; 149 wal_level = "replica";