diff --git a/hosts/nachtigall/apps/forgejo.nix b/hosts/nachtigall/apps/forgejo.nix index 5adb700..03255af 100644 --- a/hosts/nachtigall/apps/forgejo.nix +++ b/hosts/nachtigall/apps/forgejo.nix @@ -76,6 +76,7 @@ DEFAULT_KEEP_EMAIL_PRIVATE = true; }; session = { + PROVIDER = "db"; COOKIE_SECURE = lib.mkForce true; }; # See https://forgejo.org/docs/latest/admin/actions/ @@ -120,7 +121,7 @@ }; initialize = true; passwordFile = config.age.secrets."restic-repo-droppie".path; - repository = "yule@droppie.b12f.io:/media/internal/backups-pub-solar"; + repository = "sftp:yule@droppie.b12f.io:/media/internal/pub.solar"; backupPrepareCommand = '' ${pkgs.sudo}/bin/sudo -u postgres ${pkgs.postgresql}/bin/pg_dump -d gitea > /tmp/forgejo-backup.sql ''; diff --git a/hosts/nachtigall/apps/keycloak.nix b/hosts/nachtigall/apps/keycloak.nix index 8ca5e43..5f28310 100644 --- a/hosts/nachtigall/apps/keycloak.nix +++ b/hosts/nachtigall/apps/keycloak.nix @@ -58,7 +58,7 @@ }; initialize = true; passwordFile = config.age.secrets."restic-repo-droppie".path; - repository = "yule@droppie.b12f.io:/media/internal/backups-pub-solar"; + repository = "sftp:yule@droppie.b12f.io:/media/internal/pub.solar"; backupPrepareCommand = '' ${pkgs.sudo}/bin/sudo -u postgres ${pkgs.postgresql}/bin/pg_dump -d keycloak > /tmp/keycloak-backup.sql ''; diff --git a/hosts/nachtigall/apps/mailman.nix b/hosts/nachtigall/apps/mailman.nix index 55e49b5..fb48da8 100644 --- a/hosts/nachtigall/apps/mailman.nix +++ b/hosts/nachtigall/apps/mailman.nix @@ -94,6 +94,6 @@ }; initialize = true; passwordFile = config.age.secrets."restic-repo-droppie".path; - repository = "yule@droppie.b12f.io:/media/internal/backups-pub-solar"; + repository = "sftp:yule@droppie.b12f.io:/media/internal/pub.solar"; }; } diff --git a/hosts/nachtigall/apps/mastodon.nix b/hosts/nachtigall/apps/mastodon.nix index 5570585..0dbdc47 100644 --- a/hosts/nachtigall/apps/mastodon.nix +++ b/hosts/nachtigall/apps/mastodon.nix @@ -105,7 +105,7 @@ }; initialize = true; passwordFile = config.age.secrets."restic-repo-droppie".path; - repository = "yule@droppie.b12f.io:/media/internal/backups-pub-solar"; + repository = "sftp:yule@droppie.b12f.io:/media/internal/pub.solar"; backupPrepareCommand = '' ${pkgs.sudo}/bin/sudo -u postgres ${pkgs.postgresql}/bin/pg_dump -d mastodon > /tmp/mastodon-backup.sql ''; diff --git a/hosts/nachtigall/apps/nextcloud.nix b/hosts/nachtigall/apps/nextcloud.nix index 50f086b..4741476 100644 --- a/hosts/nachtigall/apps/nextcloud.nix +++ b/hosts/nachtigall/apps/nextcloud.nix @@ -143,7 +143,7 @@ }; initialize = true; passwordFile = config.age.secrets."restic-repo-droppie".path; - repository = "yule@droppie.b12f.io:/media/internal/backups-pub-solar"; + repository = "sftp:yule@droppie.b12f.io:/media/internal/pub.solar"; backupPrepareCommand = '' ${pkgs.sudo}/bin/sudo -u postgres ${pkgs.postgresql}/bin/pg_dump -d nextcloud > /tmp/nextcloud-backup.sql '';