diff --git a/modules/core/ssh.nix b/modules/core/ssh.nix index 4deba7f..9ac72ab 100644 --- a/modules/core/ssh.nix +++ b/modules/core/ssh.nix @@ -2,9 +2,11 @@ services.sshd.enable = true; services.openssh = { enable = true; - passwordAuthentication = false; - kbdInteractiveAuthentication = false; - permitRootLogin = "yes"; + settings = { + PasswordAuthentication = false; + KbdInteractiveAuthentication = false; + PermitRootLogin = "yes"; + }; hostKeys = [ { path = "/etc/ssh/ssh_host_ed25519_key";