The systemd stop job timeout defaults to 90s. Does NixOS have a configuration parameter to change this value?


Add the following to your configuration.nix:

systemd.extraConfig = ''

I don't know about NixOS specifically, but man systemd-system.conf for me lists DefaultTimeoutStopSec= as the default timeout for ... stopping of units. A local administrator would typically change this in /etc/systemd/system.conf. A Unit can have its own TimeoutStopSec= value.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.