AutoUpdateSigned : Wait for network.

This commit is contained in:
Dmitry Voronin 2024-05-04 22:22:59 +03:00
parent 1ad92a06c6
commit c5b3675d75
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -24,6 +24,8 @@
}; };
${lib.getExe pkgs.gnumake} switch ${lib.getExe pkgs.gnumake} switch
''; '';
after = [ "network-online.target" ];
wants = [ "network-online.target" ];
}; };
systemd.timers.autoupdate = { systemd.timers.autoupdate = {
@ -31,6 +33,7 @@
OnCalendar = "hourly"; OnCalendar = "hourly";
Persistent = true; Persistent = true;
Unit = "autoupdate.service"; Unit = "autoupdate.service";
# RandomizedDelaySec = 60;
}; };
wantedBy = [ "timers.target" ]; wantedBy = [ "timers.target" ];
}; };