diff --git a/system/nixos/ssh.nix b/system/nixos/ssh.nix index 4d0973c..1a57857 100644 --- a/system/nixos/ssh.nix +++ b/system/nixos/ssh.nix @@ -1,7 +1,10 @@ { services.openssh = { enable = true; - passwordAuthentication = false; - kbdInteractiveAuthentication = false; + + settings = { + PasswordAuthentication = false; + KbdInteractiveAuthentication = false; + }; }; }