about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--hosts/configuration.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/hosts/configuration.nix b/hosts/configuration.nix
index 0772942..d8fdc0b 100644
--- a/hosts/configuration.nix
+++ b/hosts/configuration.nix
@@ -141,8 +141,10 @@
   services = {
     openssh = {
       enable = true;
-      passwordAuthentication = false;
-      kbdInteractiveAuthentication = false;
+      settings = {
+        passwordAuthentication = false;
+        kbdInteractiveAuthentication = false;
+      };
       listenAddresses = [{
         addr = "0.0.0.0";
         port = 22;