diff --git a/profiles/ssh/default.nix b/profiles/ssh/default.nix index 2302428..dc7831d 100644 --- a/profiles/ssh/default.nix +++ b/profiles/ssh/default.nix @@ -1,10 +1,12 @@ { ... }: { services.openssh = { enable = true; - forwardX11 = true; - permitRootLogin = "no"; + settings = { + X11Forwarding = true; + PermitRootLogin = "no"; + PasswordAuthentication = false; + }; startWhenNeeded = true; openFirewall = true; - passwordAuthentication = false; }; }