From c0b2977f07645d45b1487a2d49ba8084b2897df2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=BF=20corey=20=28they/them=29?= Date: Mon, 9 Feb 2026 21:03:05 -0800 Subject: [PATCH 1/2] Backup pocket-id database Resolves #246 --- modules/nixos/web/auth.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/nixos/web/auth.nix b/modules/nixos/web/auth.nix index 90fe92e..13b7e08 100644 --- a/modules/nixos/web/auth.nix +++ b/modules/nixos/web/auth.nix @@ -137,6 +137,10 @@ in { } ]; }; + services.postgresqlBackup = { + enable = lib.mkDefault true; + databases = ["pocketid"]; + }; systemd.services.pocket-id = { wants = ["network-online.target"]; From 4124b17d2dfcc9f919b79ee1f8b1f9415aa8ce17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=BF=20corey=20=28they/them=29?= Date: Tue, 10 Feb 2026 15:47:09 -0800 Subject: [PATCH 2/2] Comment out explicit option --- hosts/spore/services/mastodon.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/spore/services/mastodon.nix b/hosts/spore/services/mastodon.nix index f942dc2..3991420 100644 --- a/hosts/spore/services/mastodon.nix +++ b/hosts/spore/services/mastodon.nix @@ -94,7 +94,7 @@ in { ensureDatabases = ["mastodon"]; }; services.postgresqlBackup = { - inherit enable; + #inherit enable; TODO databases = ["mastodon"]; }; services.redis.servers.mastodon = {