about summary refs log tree commit diff
path: root/users/tazjin/nixos/tverskoy
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-01-18T07·41+0300
committerclbot <clbot@tvl.fyi>2022-01-18T07·43+0000
commite5181a13eddf2a1712f6d5ac19256204aa0f826e (patch)
treebe8c2d786ad450c8b3e955f654ca66e628165e7e /users/tazjin/nixos/tverskoy
parent749266288e59f8118b250a1e435db6ae6859f408 (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/tverskoy')
-rw-r--r--users/tazjin/nixos/tverskoy/default.nix6
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 = {