diff options
Diffstat (limited to 'profiles/server.nix')
-rw-r--r-- | profiles/server.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/profiles/server.nix b/profiles/server.nix index 5f1ce10..47cdc17 100644 --- a/profiles/server.nix +++ b/profiles/server.nix @@ -9,8 +9,10 @@ services.openssh = { enable = true; - permitRootLogin = "yes"; - passwordAuthentication = false; + settings = { + PermitRootLogin = "yes"; + PasswordAuthentication = false; + }; }; networking.firewall.allowedTCPPorts = [ 22 ]; |