diff --git a/modules/ssh/default.nix b/modules/ssh/default.nix index 77c0015..ec8f188 100644 --- a/modules/ssh/default.nix +++ b/modules/ssh/default.nix @@ -4,14 +4,14 @@ let in { services.openssh = { - enable = true; - startWhenNeeded = true; + enable = lib.mkDefault true; ports = ports; openFirewall = true; + startWhenNeeded = true; settings = { AllowUsers = [ "tdback" ]; PermitRootLogin = "no"; - PasswordAuthentication = false; + PasswordAuthentication = lib.mkDefault false; }; }; }