timer
This commit is contained in:
parent
adb8f3f40a
commit
e7f412de03
|
@ -1,12 +1,12 @@
|
|||
{pkgs, ...}: {
|
||||
# systemd.timers."nix-auto-upgrade" = {
|
||||
# wantedBy = ["timers.target"];
|
||||
# timerConfig = {
|
||||
# OnCalendar = "weekly";
|
||||
# Persistent = true;
|
||||
# Unit = "nix-auto-upgrade";
|
||||
# };
|
||||
# };
|
||||
systemd.timers."nix-auto-upgrade" = {
|
||||
wantedBy = ["timers.target"];
|
||||
timerConfig = {
|
||||
OnCalendar = "weekly";
|
||||
Persistent = true;
|
||||
Unit = "nix-auto-upgrade";
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services."nix-auto-upgrade" = {
|
||||
script = ''
|
||||
|
|
Loading…
Reference in a new issue