about summary refs log tree commit diff stats
path: root/nix-conf/machines/edrahil
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2023-11-23 08:12:32 +0000
committerDavid Morgan <djm_uk@protonmail.com>2023-11-23 08:12:32 +0000
commit5b54c148b7b6d93f485fed2379a170399ebff7c0 (patch)
tree78342699b606b2adc6caa95408ea5391c9f3d326 /nix-conf/machines/edrahil
parentacef26a90f79a3c8f5bdefbc1f2a11af82e6c12f (diff)
downloaddotfiles-5b54c148b7b6d93f485fed2379a170399ebff7c0.tar.gz
Update renamed settings
Diffstat (limited to 'nix-conf/machines/edrahil')
-rw-r--r--nix-conf/machines/edrahil/configuration.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/nix-conf/machines/edrahil/configuration.nix b/nix-conf/machines/edrahil/configuration.nix
index 999aea7..530f5d9 100644
--- a/nix-conf/machines/edrahil/configuration.nix
+++ b/nix-conf/machines/edrahil/configuration.nix
@@ -4,7 +4,7 @@
     ./network-configuration.nix
   ];
 
-  boot.cleanTmpDir = true;
+  boot.tmp.cleanOnBoot = true;
   zramSwap.enable = true;
 
   networking.hostName = "edrahil";
@@ -16,10 +16,12 @@
   services.openssh = {
     enable = true;
     ports = [ 2222 ];
-    permitRootLogin = "no";
-    passwordAuthentication = false;
+    settings = {
+      PermitRootLogin = "no";
+      PasswordAuthentication = false;
+      KbdInteractiveAuthentication = false;
+    };
     allowSFTP = true;
-    kbdInteractiveAuthentication = false;
     extraConfig = ''
       #AllowTcpForwarding yes
       X11Forwarding no