summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/ssh.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/ssh.nix b/modules/ssh.nix
index a389210..061f5fe 100644
--- a/modules/ssh.nix
+++ b/modules/ssh.nix
@@ -3,7 +3,9 @@
{
services.openssh = {
enable = true;
- permitRootLogin = "no";
- passwordAuthentication = false;
+ settings = {
+ permitRootLogin = "no";
+ passwordAuthentication = false;
+ };
};
}