🐛 set timeout for systemd service when shutting down
This commit is contained in:
parent
819ddbd4e5
commit
80dece7042
|
@ -70,6 +70,11 @@
|
||||||
# restrict nix command to sudoers
|
# restrict nix command to sudoers
|
||||||
nix.settings.allowed-users = [ "@wheel" ];
|
nix.settings.allowed-users = [ "@wheel" ];
|
||||||
|
|
||||||
|
# shorter timeout for systemd services
|
||||||
|
systemd.extraConfig = ''
|
||||||
|
DefaultTimeoutStopSec=10s
|
||||||
|
'';
|
||||||
|
|
||||||
# hardware
|
# hardware
|
||||||
hardware = {
|
hardware = {
|
||||||
enableRedistributableFirmware = true;
|
enableRedistributableFirmware = true;
|
||||||
|
|
Loading…
Reference in a new issue