From 905a306a705fc7bf9f0d03945bfe692c530dd05e Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Thu, 8 Jun 2023 23:44:59 -0600 Subject: flake: update to 23.05 --- sys/auth.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'sys/auth.nix') 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. -- cgit v1.2.3