Finalize calypso install!
This commit is contained in:
parent
b67cf3fde7
commit
2357c5d3d6
5 changed files with 26 additions and 12 deletions
hosts/nixos/common/global/services
|
@ -68,5 +68,7 @@ in
|
|||
services.fail2ban.enable = true;
|
||||
|
||||
# Makes it easy to copy host keys at install time without messing up permissions
|
||||
systemd.tmpfiles.rules = [ "d /persist/state/etc/ssh" ];
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /persist/state/etc/ssh"
|
||||
] ++ (lib.lists.forEach config.services.openssh.hostKeys (key: "e ${key.path} 0700"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue