Merge pull request #539 from DarkKirb/fix-restic

use multi-user.target for the restic sysbackup
This commit is contained in:
Charlotte 🦝 Delenk 2024-09-27 07:57:58 +02:00 committed by GitHub
commit f8ca1d0a5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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";