about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2023-02-01 00:50:04 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2023-02-01 00:50:04 +0100
commit15a6796b118e23908fc4aca95ad6ca30552ae2ee (patch)
treec5d3ea4afa16a4fb3cd19fea61ed10c67ace37be
parentMisc: Fix Non-NixOS updating instructions (diff)
downloadnixos-config-15a6796b118e23908fc4aca95ad6ca30552ae2ee.tar.gz
nixos-config-15a6796b118e23908fc4aca95ad6ca30552ae2ee.tar.bz2
nixos-config-15a6796b118e23908fc4aca95ad6ca30552ae2ee.zip
Misc: Change openssh config syntax to conform to new standard
-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;