summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rwxr-xr-xsystem/nanopi.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/nanopi.nix b/system/nanopi.nix
index 1fe720d7..4c91c787 100755
--- a/system/nanopi.nix
+++ b/system/nanopi.nix
@@ -200,6 +200,10 @@ in
     enable = true;
     openFirewall = true;
     startWhenNeeded = false;
+    settings = {
+      PasswordAuthentication = false;
+      KbdInteractiveAuthentication = false;
+    };
   };
   programs.mosh.enable = true;
   services.sshguard = {