From 3023fd2aff18a67f9c8ba8c02178edca7a584b38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Sun, 2 Jun 2024 22:15:35 +0200 Subject: [PATCH] Enable service and timer --- backup.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/backup.nix b/backup.nix index 70a9536..c7e3b64 100644 --- a/backup.nix +++ b/backup.nix @@ -47,7 +47,6 @@ in config = lib.mkIf cfg.enable { systemd.services."backup-helper@" = { after = "network-online.target"; - enable = false; environment = { RESTIC_REPOSITORY = cfg.restic-repository; } // lib.attrsets.optionalAttrs (builtins.hasAttr "password-file" cfg) { @@ -59,7 +58,6 @@ in }; }; systemd.timers."backup-helper@" = { - enable = false; timerConfig = { OnCalendar = cfg.schedule; Persistent = true;