Skip to content

Commit e315c49

Browse files
committed
nix: add boot delay to systemd template units
1 parent 7190c10 commit e315c49

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

nix/home.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1082,6 +1082,9 @@ in
10821082
WantedBy = [ "default.target" ];
10831083
DefaultInstance = "default";
10841084
};
1085+
Timer = {
1086+
OnBootSec = "1min";
1087+
};
10851088
Service = let commonArgs = "-sshargs='-i %h/.ssh/id_ed25519_unison'"; in
10861089
{
10871090
# watch and repeat parameter can't handle non-existent folders.
@@ -1114,6 +1117,9 @@ in
11141117
WantedBy = [ "default.target" ];
11151118
DefaultInstance = "default";
11161119
};
1120+
Timer = {
1121+
OnBootSec = "1min";
1122+
};
11171123
Service =
11181124
{
11191125
# It is ok to pass a non-existent key file. Ssh will warn us, but won't panic.

0 commit comments

Comments
 (0)