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

View file

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