2024-05-02 01:10:26 +00:00
|
|
|
# Configure systemD
|
|
|
|
_: {
|
2024-05-07 22:02:59 +00:00
|
|
|
services = {
|
|
|
|
# Allow systemd user services to keep running after the user has logged out
|
|
|
|
logind.killUserProcesses = false;
|
|
|
|
};
|
2024-05-02 01:10:26 +00:00
|
|
|
|
2024-05-07 22:02:59 +00:00
|
|
|
# Reduce systemd logout time to 30s
|
|
|
|
environment.etc = {
|
|
|
|
"systemd/system.conf.d/10-reduce-logout-wait-time.conf" = {
|
|
|
|
text = ''
|
|
|
|
[Manager]
|
|
|
|
DefaultTimeoutStopSec=30s
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|