Compare commits
No commits in common. "76f29fae245b723584999732fc9e3187c2f581bf" and "5d55e620daf163818cff3ac356ee465d39b50409" have entirely different histories.
76f29fae24
...
5d55e620da
2 changed files with 8 additions and 1 deletions
|
@ -97,7 +97,7 @@ in
|
||||||
services.openssh.openFirewall = true;
|
services.openssh.openFirewall = true;
|
||||||
|
|
||||||
users.users = mapAttrs (user: keys: {
|
users.users = mapAttrs (user: keys: {
|
||||||
shell = shells."${keys.shell}";
|
shell = lib.mkDefault shells."${keys.shell}";
|
||||||
extraGroups = lib.mkDefault extraGroups;
|
extraGroups = lib.mkDefault extraGroups;
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
openssh.authorizedKeys.keys = keys.keys;
|
openssh.authorizedKeys.keys = keys.keys;
|
||||||
|
|
|
@ -149,6 +149,13 @@ in
|
||||||
startAt = "daily";
|
startAt = "daily";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.postgresqlBackup = {
|
||||||
|
enable = true;
|
||||||
|
backupAll = true;
|
||||||
|
compression = "zstd";
|
||||||
|
location = "/var/backup/postgresql";
|
||||||
|
};
|
||||||
|
|
||||||
age.secrets."ninurta-backup-passphrase" = {
|
age.secrets."ninurta-backup-passphrase" = {
|
||||||
file = "${secretsPath}/ninurta-backup-passphrase.age";
|
file = "${secretsPath}/ninurta-backup-passphrase.age";
|
||||||
mode = "400";
|
mode = "400";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue