summaryrefslogtreecommitdiff
path: root/hosts/surtr/postgresql
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2023-03-21 12:43:21 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2023-03-21 12:43:21 +0100
commitffd7c4837f36bbfa81b1534a0bdd6a0e0194f3b5 (patch)
treec051a6533d7be857fe12f2df424f268e35a92334 /hosts/surtr/postgresql
parentf65bd5ae49da40eedd4929f17e0dced77a774af9 (diff)
downloadnixos-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/postgresql')
-rw-r--r--hosts/surtr/postgresql/default.nix4
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, ... }:
2let 2let
3 versioning = sources.psql-versioning.src; 3 versioning = sources.psql-versioning.src;
4in { 4in {
@@ -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;