diff --git a/m/tent/gitea.nix b/m/tent/gitea.nix index 53c3b850..2c5b11f1 100644 --- a/m/tent/gitea.nix +++ b/m/tent/gitea.nix @@ -54,8 +54,9 @@ WorkingDirectory = cfg.dump.backupDir; }; + # gitea dump does not allow overriding files. Instead dump to stdout with - script = '' - ${exe} dump --type ${cfg.dump.type} --file "gitea-dump-$(date +%a).${cfg.dump.type}" + ${exe} dump --type ${cfg.dump.type} --file - >"gitea-dump-$(date +%a).${cfg.dump.type}" ''; };