Skip to content

Commit

Permalink
nixos: increase TimeoutStartSec from 1m30s to 5m
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bjornfor authored and rycee committed Sep 10, 2023
1 parent 2b637f3 commit f7848d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ in {
User = usercfg.home.username;
Type = "oneshot";
RemainAfterExit = "yes";
TimeoutStartSec = 90;
TimeoutStartSec = "5m";
SyslogIdentifier = "hm-activate-${username}";

ExecStart = let
Expand Down

0 comments on commit f7848d3

Please sign in to comment.