16 lines
393 B
Nix
16 lines
393 B
Nix
|
{
|
||
|
services.restic.backups = {
|
||
|
giteaBackup = {
|
||
|
paths = [ "/forgejo/dump" ];
|
||
|
environmentFile = "${../../nix-secrets/willem/gitea/backupCreds}";
|
||
|
passwordFile = "${../../nix-secrets/willem/restic/password}";
|
||
|
repository = "b2:gitea-willem";
|
||
|
initialize = true;
|
||
|
timerConfig = {
|
||
|
OnCalendar = "04:00";
|
||
|
Persistent = true;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|