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;
};
};
};
# 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?
}