Merge pull request #539 from DarkKirb/fix-restic
use multi-user.target for the restic sysbackup
This commit is contained in:
commit
f8ca1d0a5b
1 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,9 @@
|
||||||
{config, ...}: {
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
systemd.timers.restic-backups-sysbackup.wantedBy = lib.mkForce ["multi-user.target"];
|
||||||
services.restic.backups."sysbackup" = {
|
services.restic.backups."sysbackup" = {
|
||||||
timerConfig = {
|
timerConfig = {
|
||||||
OnUnitActiveSec = "12h";
|
OnUnitActiveSec = "12h";
|
||||||
|
|
Loading…
Reference in a new issue