diff --git a/services/ssh.nix b/services/ssh.nix index 71646ef..9f15931 100644 --- a/services/ssh.nix +++ b/services/ssh.nix @@ -21,6 +21,7 @@ systemd.tmpfiles.rules = [ "Z /etc/ssh 755 root root" + "Z /etc/ssh/ssh_host_* 600 root root" ]; users.users.${username}.openssh.authorizedKeys.keys = [