X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fprivate%2Fsystem%2Fbackup-2.nix;h=a49c37474a958c84949138d3507db2dfac5f475a;hb=3c50eea8d946bf8417f49fa8a4a6e109e0439c7b;hp=6829f1b036676594d1972171b72e220f9a1448c9;hpb=258dd18bac4bf5dd03cf1098ffa35cb954f9e015;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/modules/private/system/backup-2.nix b/modules/private/system/backup-2.nix index 6829f1b..a49c374 100644 --- a/modules/private/system/backup-2.nix +++ b/modules/private/system/backup-2.nix @@ -66,10 +66,12 @@ postgresql = { enable = true; base = "/backup2"; + mainPackage = pkgs.postgresql; hosts = { eldiron = { slot = "backup_2"; connection = "postgresql://backup-2:${config.hostEnv.ldap.password}@eldiron.immae.eu"; + package = pkgs.postgresql; }; }; }; @@ -118,5 +120,5 @@ # database servers. You should change this only after NixOS release # notes say you should. # https://nixos.org/nixos/manual/release-notes.html - system.stateVersion = "19.03"; # Did you read the comment? + system.stateVersion = "20.03"; # Did you read the comment? }