Update renamed settings

This commit is contained in:
David Morgan 2023-11-23 08:12:32 +00:00
parent acef26a90f
commit 5b54c148b7
Signed by: djm
GPG Key ID: C171251002C200F2
3 changed files with 18 additions and 12 deletions

View File

@ -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

View File

@ -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

View File

@ -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