Enable service and timer
This commit is contained in:
parent
f7f390620f
commit
3023fd2aff
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user