nixcfg/systems/x86_64-linux
Harald Hoyer 491a7b38e4 sgx/firefly: switch Firefly III backend from sqlite to postgres
SQLite was slow under btrfs CoW, and the no-CoW migration path turned
out to be fragile (WAL deletion without checkpoint = data loss). Move
to PostgreSQL on Unix-socket peer auth — no password needed for the
local-host setup, NixOS provisions the database+user declaratively.

Drop the now-unused +C tmpfiles rule on the sqlite directory; the
leftover database.sqlite* files at /var/lib/firefly-iii/storage/database/
are harmless and can be removed manually after switch is verified.

Migration of existing Firefly III data is not preserved by this
commit — fresh-start path: re-register admin, re-issue PAT, re-POST
the bulk CSV through the importer.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-01 21:49:08 +02:00
..
amd feat(amd): latest kernel ryzen kernel module 2026-04-27 10:40:23 +02:00
attic fix(attic): fix nginx proxy cache bypass and add cache lock 2026-03-25 13:38:32 +01:00
halo chore: statix fix 2026-04-20 10:09:24 +02:00
mx refactor(mx): extract disk check services into disk-check.nix 2026-04-20 10:28:27 +02:00
nixtee1 refactor(nix): extract common system configs into reusable modules 2026-01-30 10:42:09 +01:00
sgx sgx/firefly: switch Firefly III backend from sqlite to postgres 2026-05-01 21:49:08 +02:00
t15 refactor(nix): extract common system configs into reusable modules 2026-01-30 10:42:09 +01:00
x1 chore: statix fix 2026-04-20 10:09:24 +02:00