nixops: set StreamLocalBindUnlink

This commit is contained in:
Sebastien Bourdeauducq 2020-07-15 12:32:57 +08:00
parent b29ee1d386
commit bebfe728de
3 changed files with 12 additions and 0 deletions

View File

@ -47,6 +47,10 @@ in
services.openssh.enable = true;
services.openssh.forwardX11 = true;
services.openssh.passwordAuthentication = false;
services.openssh.extraConfig =
''
StreamLocalBindUnlink yes
'';
hardware.u2f.enable = true;
services.pcscd.enable = true;
programs.ssh.extraConfig =

View File

@ -35,6 +35,10 @@
services.openssh.enable = true;
services.openssh.forwardX11 = true;
services.openssh.passwordAuthentication = false;
services.openssh.extraConfig =
''
StreamLocalBindUnlink yes
'';
hardware.u2f.enable = true;
services.pcscd.enable = true;
programs.ssh.extraConfig =

View File

@ -35,6 +35,10 @@ in
services.openssh.enable = true;
services.openssh.passwordAuthentication = false;
services.openssh.extraConfig =
''
StreamLocalBindUnlink yes
'';
networking.hostName = host;
time.timeZone = "Asia/Hong_Kong";