unl0kr: fix LOGIN_TIMEOUT to be infinite

This commit is contained in:
2024-01-31 15:43:30 +00:00
parent 30288cd67f
commit 13be5a1731

View File

@@ -124,5 +124,9 @@ in
sleep ${builtins.toString cfg.delay} && exec ${cfg.afterLogin}
fi
'';
# disable timeout for `login` program.
# this lets me pipe input into `login` and not worry about the pipe randomly dying.
security.loginDefs.settings.LOGIN_TIMEOUT = 0;
};
}