From 75aff2610c14b1460426a0b690a6af63db8d501d Mon Sep 17 00:00:00 2001 From: Leon Vatthauer Date: Fri, 30 Aug 2024 21:10:46 +0200 Subject: [PATCH] update ssh --- dafoe/services/ssh.nix | 6 ++++++ 1 file changed, 6 insertions(+) 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; }