Compare commits
2 commits
5d55e620da
...
76f29fae24
Author | SHA1 | Date | |
---|---|---|---|
76f29fae24 | |||
763d8f4783 |
2 changed files with 1 additions and 8 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 = lib.mkDefault shells."${keys.shell}";
|
shell = 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,13 +149,6 @@ 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