{ services.restic.backups = { giteaBackup = { paths = [ "/gitea/dump" ]; # environmentFile = "/home/leonv/nixos/willem/private/gitea_backupCreds"; # passwordFile = "/home/leonv/nixos/willem/private/restic-password"; environmentFile = "${../../nix-secrets/willem/gitea/backupCreds}"; passwordFile = "${../../nix-secrets/willem/restic/password}"; repository = "b2:gitea-willem"; initialize = true; timerConfig = { OnCalendar = "04:00"; Persistent = true; }; }; }; }