diff options
author | David Morgan <djm_uk@protonmail.com> | 2023-11-23 08:12:32 +0000 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2023-11-23 08:12:32 +0000 |
commit | 5b54c148b7b6d93f485fed2379a170399ebff7c0 (patch) | |
tree | 78342699b606b2adc6caa95408ea5391c9f3d326 /nix-conf/machines/edrahil | |
parent | acef26a90f79a3c8f5bdefbc1f2a11af82e6c12f (diff) | |
download | dotfiles-5b54c148b7b6d93f485fed2379a170399ebff7c0.tar.gz |
Update renamed settings
Diffstat (limited to 'nix-conf/machines/edrahil')
-rw-r--r-- | nix-conf/machines/edrahil/configuration.nix | 10 |
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 |