summaryrefslogtreecommitdiff
path: root/sys/auth.nix
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2023-06-08 23:44:59 -0600
committerAlejandro Soto <alejandro@34project.org>2023-06-10 16:42:50 -0600
commit905a306a705fc7bf9f0d03945bfe692c530dd05e (patch)
treeeb471b486271d66ea271f903b3e2cd7a98f1d233 /sys/auth.nix
parent3eb118d309fadbeed76963ef2d956c8cbf2528e2 (diff)
flake: update to 23.05
Diffstat (limited to 'sys/auth.nix')
-rw-r--r--sys/auth.nix10
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.