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 = { 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"];