1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-26 21:19:45 +01:00

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.
This commit is contained in:
Bjørn Forsman 2023-06-29 17:29:30 +02:00 committed by Robert Helgesson
parent 2b637f3289
commit f7848d3e5f
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -49,7 +49,7 @@ in {
User = usercfg.home.username; User = usercfg.home.username;
Type = "oneshot"; Type = "oneshot";
RemainAfterExit = "yes"; RemainAfterExit = "yes";
TimeoutStartSec = 90; TimeoutStartSec = "5m";
SyslogIdentifier = "hm-activate-${username}"; SyslogIdentifier = "hm-activate-${username}";
ExecStart = let ExecStart = let