nixops: set StreamLocalBindUnlink
This commit is contained in:
parent
b29ee1d386
commit
bebfe728de
@ -47,6 +47,10 @@ in
|
|||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
services.openssh.forwardX11 = true;
|
services.openssh.forwardX11 = true;
|
||||||
services.openssh.passwordAuthentication = false;
|
services.openssh.passwordAuthentication = false;
|
||||||
|
services.openssh.extraConfig =
|
||||||
|
''
|
||||||
|
StreamLocalBindUnlink yes
|
||||||
|
'';
|
||||||
hardware.u2f.enable = true;
|
hardware.u2f.enable = true;
|
||||||
services.pcscd.enable = true;
|
services.pcscd.enable = true;
|
||||||
programs.ssh.extraConfig =
|
programs.ssh.extraConfig =
|
||||||
|
@ -35,6 +35,10 @@
|
|||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
services.openssh.forwardX11 = true;
|
services.openssh.forwardX11 = true;
|
||||||
services.openssh.passwordAuthentication = false;
|
services.openssh.passwordAuthentication = false;
|
||||||
|
services.openssh.extraConfig =
|
||||||
|
''
|
||||||
|
StreamLocalBindUnlink yes
|
||||||
|
'';
|
||||||
hardware.u2f.enable = true;
|
hardware.u2f.enable = true;
|
||||||
services.pcscd.enable = true;
|
services.pcscd.enable = true;
|
||||||
programs.ssh.extraConfig =
|
programs.ssh.extraConfig =
|
||||||
|
@ -35,6 +35,10 @@ in
|
|||||||
|
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
services.openssh.passwordAuthentication = false;
|
services.openssh.passwordAuthentication = false;
|
||||||
|
services.openssh.extraConfig =
|
||||||
|
''
|
||||||
|
StreamLocalBindUnlink yes
|
||||||
|
'';
|
||||||
|
|
||||||
networking.hostName = host;
|
networking.hostName = host;
|
||||||
time.timeZone = "Asia/Hong_Kong";
|
time.timeZone = "Asia/Hong_Kong";
|
||||||
|
Loading…
Reference in New Issue
Block a user