diff options
Diffstat (limited to '')
| -rw-r--r-- | sys/auth.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/auth.nix b/sys/auth.nix index e9723a7..b2333c0 100644 --- a/sys/auth.nix +++ b/sys/auth.nix @@ -20,10 +20,6 @@ in ports = [ 2234 ]; startWhenNeeded = true; - forwardX11 = true; - permitRootLogin = "no"; - passwordAuthentication = true; # Necesario para oath, no reemplaza a oath - hostKeys = [ { bits = 4096; @@ -41,6 +37,12 @@ in } ]; + settings = { + X11Forwarding = true; + PermitRootLogin = "no"; + PasswordAuthentication = true; # Necesario para oath, no reemplaza a oath + }; + extraConfig = '' # User 'tunnel' has no password. Use PAM OATH # and connect with -N, forward with -R. |
