diff options
author | Vincent Ambo <mail@tazj.in> | 2022-01-18T07·41+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2022-01-18T07·43+0000 |
commit | e5181a13eddf2a1712f6d5ac19256204aa0f826e (patch) | |
tree | be8c2d786ad450c8b3e955f654ca66e628165e7e /users/tazjin/nixos | |
parent | 749266288e59f8118b250a1e435db6ae6859f408 (diff) |
chore(tazjin/tverskoy): Reduce systemd stop timeout to 10s r/3625
Change-Id: Id477c50489fa45fae63120c201839a95aa21bd36 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4987 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin/nixos')
-rw-r--r-- | users/tazjin/nixos/tverskoy/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/users/tazjin/nixos/tverskoy/default.nix b/users/tazjin/nixos/tverskoy/default.nix index 61f89399b78f..ab44c3b98e4f 100644 --- a/users/tazjin/nixos/tverskoy/default.nix +++ b/users/tazjin/nixos/tverskoy/default.nix @@ -220,6 +220,12 @@ in lib.fix(self: { # Do not restart the display manager automatically systemd.services.display-manager.restartIfChanged = lib.mkForce false; + # If something needs more than 10s to stop it should probably be + # killed. + systemd.extraConfig = '' + DefaultTimeoutStopSec=10s + ''; + time.timeZone = "Europe/Moscow"; users.users.tazjin = { |