1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-09-21 05:47:29 +02: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 Mikilio
parent 88c3564483
commit 6c99c414f3
No known key found for this signature in database
GPG key ID: 5B2F1A890CF33F3F

View file

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