Personal Nix setup
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update sshd config

+7 -1
+7 -1
modules/server/sshd.nix
··· 21 21 services.openssh = { 22 22 enable = true; 23 23 } // helpers.linuxAttrs { 24 - settings.PermitRootLogin = mkDefault "no"; 25 24 openFirewall = mkDefault true; 26 25 ports = [ 22 ]; 26 + settings = { 27 + PermitRootLogin = "no"; 28 + PasswordAuthentication = false; 29 + KbdInteractiveAuthentication = false; 30 + MaxAuthTries = 3; 31 + LoginGraceTime = 30; 32 + }; 27 33 }; 28 34 }; 29 35 }