diff --git a/nixos/hosts/varda/resources/prune-backups.sh b/nixos/hosts/varda/resources/prune-backups.sh index 2c8779a..363ec58 100644 --- a/nixos/hosts/varda/resources/prune-backups.sh +++ b/nixos/hosts/varda/resources/prune-backups.sh @@ -1,5 +1,5 @@ # Set the backup directory -BACKUP_DIR="/mnt/storage/forgejo/backups" +BACKUP_DIR="/mnt/storagebox/forgejo/backup" KEEP_NUM=7 diff --git a/nixos/modules/nixos/services/forgejo/default.nix b/nixos/modules/nixos/services/forgejo/default.nix index 711f7d8..6e8d29d 100644 --- a/nixos/modules/nixos/services/forgejo/default.nix +++ b/nixos/modules/nixos/services/forgejo/default.nix @@ -33,7 +33,7 @@ in # enable sql db dumps daily dump = { enable = true; - backupDir = "/mnt/storagebox/forgejo/backup/"; + backupDir = "/mnt/storagebox/forgejo/backup"; }; database.type = "postgres"; # Enable support for Git Large File Storage