diff --git a/nixos/default.nix b/nixos/default.nix index 8bb663c..5ddad00 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -15,6 +15,9 @@ services.openssh = { enable = true; + passwordAuthentication = false; + challengeResponseAuthentication = false; + permitRootLogin = "without-password"; openFirewall = true; ports = [ 1512 ]; startWhenNeeded = true;