Update renamed settings
This commit is contained in:
parent
acef26a90f
commit
5b54c148b7
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue