From 9b4023fb9d8ff3e0005595318ec1e1ac181a6bdf Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 12 Aug 2025 09:47:47 -0700 Subject: profile for sshd --- profiles/server.nix | 4 ---- 1 file changed, 4 deletions(-) (limited to 'profiles/server.nix') diff --git a/profiles/server.nix b/profiles/server.nix index 49a0bc7..c91546d 100644 --- a/profiles/server.nix +++ b/profiles/server.nix @@ -45,10 +45,6 @@ "1.0.0.1#cloudflare-dns.com" ]; - services.openssh.enable = true; - services.openssh.settings.PasswordAuthentication = false; - services.openssh.settings.PermitRootLogin = "no"; - users.users.root.openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBkozy+X96u5ciX766bJ/AyQ3xm1tXZTIr5+4PVFZFi" ]; -- cgit v1.2.3