unl0kr: fix LOGIN_TIMEOUT to be infinite
This commit is contained in:
@@ -124,5 +124,9 @@ in
|
|||||||
sleep ${builtins.toString cfg.delay} && exec ${cfg.afterLogin}
|
sleep ${builtins.toString cfg.delay} && exec ${cfg.afterLogin}
|
||||||
fi
|
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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user