lib/autoupdate: let service generate the timer
This commit is contained in:
parent
ac7b628e8c
commit
80aa41c12e
|
@ -51,12 +51,8 @@
|
|||
# don't let the switch kill this service, aborting the switch
|
||||
restartIfChanged = false;
|
||||
unitConfig.X-StopOnRemoval = false;
|
||||
};
|
||||
|
||||
systemd.timers.autoupdate = {
|
||||
partOf = [ "autoupdate.service" ];
|
||||
wantedBy = [ "timers.target" ];
|
||||
timerConfig.OnCalendar = "hourly";
|
||||
# create timer
|
||||
startAt = "hourly";
|
||||
};
|
||||
|
||||
nix.gc = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user