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 | |
parent | acef26a90f79a3c8f5bdefbc1f2a11af82e6c12f (diff) | |
download | dotfiles-5b54c148b7b6d93f485fed2379a170399ebff7c0.tar.gz |
Update renamed settings
-rw-r--r-- | nix-conf/machines/djmuk1/configuration.nix | 10 | ||||
-rw-r--r-- | nix-conf/machines/djmuk2/configuration.nix | 10 | ||||
-rw-r--r-- | nix-conf/machines/edrahil/configuration.nix | 10 |
3 files changed, 18 insertions, 12 deletions
diff --git a/nix-conf/machines/djmuk1/configuration.nix b/nix-conf/machines/djmuk1/configuration.nix index dbbc753..1566ec2 100644 --- a/nix-conf/machines/djmuk1/configuration.nix +++ b/nix-conf/machines/djmuk1/configuration.nix @@ -3,7 +3,7 @@ ./hardware-configuration.nix ]; - boot.cleanTmpDir = true; + boot.tmp.cleanOnBoot = true; networking.hostName = "djmuk1"; networking.firewall = { @@ -13,9 +13,11 @@ services.openssh = { enable = true; - permitRootLogin = "no"; - passwordAuthentication = false; - kbdInteractiveAuthentication = false; + settings = { + PermitRootLogin = "no"; + PasswordAuthentication = false; + KbdInteractiveAuthentication = false; + }; extraConfig = '' #AllowTcpForwarding yes X11Forwarding no diff --git a/nix-conf/machines/djmuk2/configuration.nix b/nix-conf/machines/djmuk2/configuration.nix index fc26bca..a9546bd 100644 --- a/nix-conf/machines/djmuk2/configuration.nix +++ b/nix-conf/machines/djmuk2/configuration.nix @@ -3,7 +3,7 @@ ./hardware-configuration.nix ]; - boot.cleanTmpDir = true; + boot.tmp.cleanOnBoot = true; zramSwap.enable = true; networking.hostName = "djmuk2"; @@ -14,9 +14,11 @@ services.openssh = { enable = true; - permitRootLogin = "no"; - passwordAuthentication = false; - kbdInteractiveAuthentication = false; + settings = { + PermitRootLogin = "no"; + PasswordAuthentication = false; + KbdInteractiveAuthentication = false; + }; extraConfig = '' #AllowTcpForwarding yes X11Forwarding no 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 |