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