🐛 set timeout for systemd service when shutting down

This commit is contained in:
Laureηt 2023-05-09 20:38:04 +02:00
parent 819ddbd4e5
commit 80dece7042
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI

View file

@ -70,6 +70,11 @@
# restrict nix command to sudoers
nix.settings.allowed-users = [ "@wheel" ];
# shorter timeout for systemd services
systemd.extraConfig = ''
DefaultTimeoutStopSec=10s
'';
# hardware
hardware = {
enableRedistributableFirmware = true;