From ae67327df3faaf106d2bcb352d4151774576bf00 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 29 Dec 2023 22:40:38 +0100 Subject: ... --- hosts/surtr/postgresql/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'hosts/surtr/postgresql') diff --git a/hosts/surtr/postgresql/default.nix b/hosts/surtr/postgresql/default.nix index faf74588..f0e42ee8 100644 --- a/hosts/surtr/postgresql/default.nix +++ b/hosts/surtr/postgresql/default.nix @@ -1,6 +1,11 @@ { pkgs, sources, config, flake, flakeInputs, ... }: let versioning = sources.psql-versioning.src; + + nixpkgs-pgbackrest = import (flakeInputs.nixpkgs-pgbackrest.outPath + "/pkgs/top-level") { + overlays = [ flake.overlays.libdscp ]; + localSystem = config.nixpkgs.system; + }; in { config = { assertions = [ @@ -16,7 +21,8 @@ in { services.pgbackrest = { enable = true; - package = flakeInputs.nixpkgs-pgbackrest.legacyPackages.${config.nixpkgs.system}.pgbackrest; + package = nixpkgs-pgbackrest.pgbackrest; + dscpPackage = nixpkgs-pgbackrest.libdscp; settings = { "surtr" = { -- cgit v1.2.3