systemd: set a low stop timeout

This commit is contained in:
Leonardo Eugênio 2024-02-22 21:09:23 -03:00
parent dc026727c9
commit 04850913a1
1 changed files with 3 additions and 0 deletions

View File

@ -151,6 +151,9 @@
};
security.sudo.wheelNeedsPassword = false;
systemd.extraConfig = ''
DefaultTimeoutStopSec=10s
'';
services.logind.extraConfig = ''
HandlePowerKey=suspend
'';