From ffd7c4837f36bbfa81b1534a0bdd6a0e0194f3b5 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 21 Mar 2023 12:43:21 +0100 Subject: vidhar: pgbackrest srv01.uniworx.de --- hosts/surtr/postgresql/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'hosts/surtr/postgresql') 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 @@ -{ pkgs, sources, config, flake, ... }: +{ pkgs, sources, config, flake, flakeInputs, ... }: let versioning = sources.psql-versioning.src; in { @@ -10,6 +10,8 @@ in { services.pgbackrest = { enable = true; + package = flakeInputs.nixpkgs-stable.legacyPackages.${config.nixpkgs.system}.pgbackrest; + settings = { "surtr" = { pg1-path = config.services.postgresql.dataDir; -- cgit v1.2.3