From e5181a13eddf2a1712f6d5ac19256204aa0f826e Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 18 Jan 2022 10:41:04 +0300 Subject: chore(tazjin/tverskoy): Reduce systemd stop timeout to 10s Change-Id: Id477c50489fa45fae63120c201839a95aa21bd36 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4987 Reviewed-by: tazjin Autosubmit: tazjin Tested-by: BuildkiteCI --- users/tazjin/nixos/tverskoy/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'users/tazjin/nixos') diff --git a/users/tazjin/nixos/tverskoy/default.nix b/users/tazjin/nixos/tverskoy/default.nix index 61f89399b7..ab44c3b98e 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 = { -- cgit 1.4.1