diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2023-03-21 12:43:21 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2023-03-21 12:43:21 +0100 |
commit | ffd7c4837f36bbfa81b1534a0bdd6a0e0194f3b5 (patch) | |
tree | c051a6533d7be857fe12f2df424f268e35a92334 /hosts/surtr | |
parent | f65bd5ae49da40eedd4929f17e0dced77a774af9 (diff) | |
download | nixos-ffd7c4837f36bbfa81b1534a0bdd6a0e0194f3b5.tar nixos-ffd7c4837f36bbfa81b1534a0bdd6a0e0194f3b5.tar.gz nixos-ffd7c4837f36bbfa81b1534a0bdd6a0e0194f3b5.tar.bz2 nixos-ffd7c4837f36bbfa81b1534a0bdd6a0e0194f3b5.tar.xz nixos-ffd7c4837f36bbfa81b1534a0bdd6a0e0194f3b5.zip |
vidhar: pgbackrest srv01.uniworx.de
Diffstat (limited to 'hosts/surtr')
-rw-r--r-- | hosts/surtr/postgresql/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hosts/surtr/postgresql/default.nix b/hosts/surtr/postgresql/default.nix index 54693b50..8c373f49 100644 --- a/hosts/surtr/postgresql/default.nix +++ b/hosts/surtr/postgresql/default.nix | |||
@@ -1,4 +1,4 @@ | |||
1 | { pkgs, sources, config, flake, ... }: | 1 | { pkgs, sources, config, flake, flakeInputs, ... }: |
2 | let | 2 | let |
3 | versioning = sources.psql-versioning.src; | 3 | versioning = sources.psql-versioning.src; |
4 | in { | 4 | in { |
@@ -10,6 +10,8 @@ in { | |||
10 | 10 | ||
11 | services.pgbackrest = { | 11 | services.pgbackrest = { |
12 | enable = true; | 12 | enable = true; |
13 | package = flakeInputs.nixpkgs-stable.legacyPackages.${config.nixpkgs.system}.pgbackrest; | ||
14 | |||
13 | settings = { | 15 | settings = { |
14 | "surtr" = { | 16 | "surtr" = { |
15 | pg1-path = config.services.postgresql.dataDir; | 17 | pg1-path = config.services.postgresql.dataDir; |