This commit is contained in:
commit
1f3f988359
|
@ -76,6 +76,7 @@
|
||||||
DEFAULT_KEEP_EMAIL_PRIVATE = true;
|
DEFAULT_KEEP_EMAIL_PRIVATE = true;
|
||||||
};
|
};
|
||||||
session = {
|
session = {
|
||||||
|
PROVIDER = "db";
|
||||||
COOKIE_SECURE = lib.mkForce true;
|
COOKIE_SECURE = lib.mkForce true;
|
||||||
};
|
};
|
||||||
# See https://forgejo.org/docs/latest/admin/actions/
|
# See https://forgejo.org/docs/latest/admin/actions/
|
||||||
|
@ -120,7 +121,7 @@
|
||||||
};
|
};
|
||||||
initialize = true;
|
initialize = true;
|
||||||
passwordFile = config.age.secrets."restic-repo-droppie".path;
|
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 = ''
|
backupPrepareCommand = ''
|
||||||
${pkgs.sudo}/bin/sudo -u postgres ${pkgs.postgresql}/bin/pg_dump -d gitea > /tmp/forgejo-backup.sql
|
${pkgs.sudo}/bin/sudo -u postgres ${pkgs.postgresql}/bin/pg_dump -d gitea > /tmp/forgejo-backup.sql
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
};
|
};
|
||||||
initialize = true;
|
initialize = true;
|
||||||
passwordFile = config.age.secrets."restic-repo-droppie".path;
|
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 = ''
|
backupPrepareCommand = ''
|
||||||
${pkgs.sudo}/bin/sudo -u postgres ${pkgs.postgresql}/bin/pg_dump -d keycloak > /tmp/keycloak-backup.sql
|
${pkgs.sudo}/bin/sudo -u postgres ${pkgs.postgresql}/bin/pg_dump -d keycloak > /tmp/keycloak-backup.sql
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -94,6 +94,6 @@
|
||||||
};
|
};
|
||||||
initialize = true;
|
initialize = true;
|
||||||
passwordFile = config.age.secrets."restic-repo-droppie".path;
|
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";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -105,7 +105,7 @@
|
||||||
};
|
};
|
||||||
initialize = true;
|
initialize = true;
|
||||||
passwordFile = config.age.secrets."restic-repo-droppie".path;
|
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 = ''
|
backupPrepareCommand = ''
|
||||||
${pkgs.sudo}/bin/sudo -u postgres ${pkgs.postgresql}/bin/pg_dump -d mastodon > /tmp/mastodon-backup.sql
|
${pkgs.sudo}/bin/sudo -u postgres ${pkgs.postgresql}/bin/pg_dump -d mastodon > /tmp/mastodon-backup.sql
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -143,7 +143,7 @@
|
||||||
};
|
};
|
||||||
initialize = true;
|
initialize = true;
|
||||||
passwordFile = config.age.secrets."restic-repo-droppie".path;
|
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 = ''
|
backupPrepareCommand = ''
|
||||||
${pkgs.sudo}/bin/sudo -u postgres ${pkgs.postgresql}/bin/pg_dump -d nextcloud > /tmp/nextcloud-backup.sql
|
${pkgs.sudo}/bin/sudo -u postgres ${pkgs.postgresql}/bin/pg_dump -d nextcloud > /tmp/nextcloud-backup.sql
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue