From e037e164c5c45ff33525d0c8575e8d9e0315ac7b Mon Sep 17 00:00:00 2001 From: Alexander Kassouni Date: Sun, 27 Sep 2026 22:07:56 -0700 Subject: move nix modules --- ssh.nix | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 ssh.nix (limited to 'ssh.nix') diff --git a/ssh.nix b/ssh.nix deleted file mode 100644 index d58a2a1..0000000 --- a/ssh.nix +++ /dev/null @@ -1,15 +0,0 @@ -{...}:{ - services.fail2ban.enable = true; - - services.openssh = { - enable = true; - authorizedKeysInHomedir = false; - settings = { - PasswordAuthentication = false; - PermitRootLogin = "no"; - AllowUsers = [ "kassouni" "git" ]; - KbdInteractiveAuthentication = false; - PubkeyAuthentication = true; - }; - }; -} -- cgit v1.3.1