summaryrefslogtreecommitdiff
path: root/hosts/vidhar
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2023-12-29 22:40:38 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2023-12-29 22:40:38 +0100
commitae67327df3faaf106d2bcb352d4151774576bf00 (patch)
tree9675d97cef9bc880e771d6304da44e892fc7f444 /hosts/vidhar
parentd4b30420812cd0b5ec97d6048e32903198b96f38 (diff)
downloadnixos-ae67327df3faaf106d2bcb352d4151774576bf00.tar
nixos-ae67327df3faaf106d2bcb352d4151774576bf00.tar.gz
nixos-ae67327df3faaf106d2bcb352d4151774576bf00.tar.bz2
nixos-ae67327df3faaf106d2bcb352d4151774576bf00.tar.xz
nixos-ae67327df3faaf106d2bcb352d4151774576bf00.zip
...
Diffstat (limited to 'hosts/vidhar')
-rw-r--r--hosts/vidhar/pgbackrest/default.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/hosts/vidhar/pgbackrest/default.nix b/hosts/vidhar/pgbackrest/default.nix
index fec0c1fb..ffb149f5 100644
--- a/hosts/vidhar/pgbackrest/default.nix
+++ b/hosts/vidhar/pgbackrest/default.nix
@@ -2,6 +2,11 @@
2 2
3let 3let
4 surtrRepoCfg = flake.nixosConfigurations."surtr".config.services.pgbackrest.settings.surtr; 4 surtrRepoCfg = flake.nixosConfigurations."surtr".config.services.pgbackrest.settings.surtr;
5
6 nixpkgs-pgbackrest = import (flakeInputs.nixpkgs-pgbackrest.outPath + "/pkgs/top-level") {
7 overlays = [ flake.overlays.libdscp ];
8 localSystem = config.nixpkgs.system;
9 };
5in { 10in {
6 config = { 11 config = {
7 assertions = [ 12 assertions = [
@@ -12,7 +17,8 @@ in {
12 17
13 services.pgbackrest = { 18 services.pgbackrest = {
14 enable = true; 19 enable = true;
15 package = flakeInputs.nixpkgs-pgbackrest.legacyPackages.${config.nixpkgs.system}.pgbackrest; 20 package = nixpkgs-pgbackrest.pgbackrest;
21 dscpPackage = nixpkgs-pgbackrest.libdscp;
16 22
17 tlsServer = { 23 tlsServer = {
18 enable = true; 24 enable = true;