diff --git a/dafoe/services/ssh.nix b/dafoe/services/ssh.nix index 650c7fc..7ded825 100644 --- a/dafoe/services/ssh.nix +++ b/dafoe/services/ssh.nix @@ -1,4 +1,10 @@ { # Enable the OpenSSH daemon. services.openssh.enable = true; + users.users.leonv.openssh.authorizedKeys.keys = [ + "${../../nix-secrets/dafoe/ssh/gunther}" + "${../../nix-secrets/dafoe/ssh/absol}" + ]; + # Enable fail2ban to make ssh more secure + services.fail2ban.enable = true; }