From f7848d3e5f15ed02e3f286029697e41ee31662d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Thu, 29 Jun 2023 17:29:30 +0200 Subject: [PATCH] nixos: increase TimeoutStartSec from 1m30s to 5m I'm experiencing timeouts for home-manager-$USER.service in my NixOS VM tests. The NixOS testing framework increases the default timeout from 1m30 to 5m, but since home-manager specifies a timeout, that value wins. There's no point in having a tight timeout value, so increase it to 5m. --- nixos/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/default.nix b/nixos/default.nix index 736a787df314..95d5943fcbeb 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -49,7 +49,7 @@ in { User = usercfg.home.username; Type = "oneshot"; RemainAfterExit = "yes"; - TimeoutStartSec = 90; + TimeoutStartSec = "5m"; SyslogIdentifier = "hm-activate-${username}"; ExecStart = let