From e7f412de030a7d16fb995a722f46ed4d129b58b5 Mon Sep 17 00:00:00 2001 From: Tasia Iso Date: Fri, 24 May 2024 13:06:56 +0200 Subject: [PATCH] timer --- common/services/autoupgrade.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/common/services/autoupgrade.nix b/common/services/autoupgrade.nix index 7cb3acf..e66922f 100644 --- a/common/services/autoupgrade.nix +++ b/common/services/autoupgrade.nix @@ -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 = ''