summaryrefslogtreecommitdiff
path: root/hosts/surtr/postgresql/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/surtr/postgresql/default.nix')
-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;