diff --git a/mastodon.nix b/mastodon.nix index c2e03c4..9afed8d 100644 --- a/mastodon.nix +++ b/mastodon.nix @@ -64,6 +64,11 @@ let p.wait() ''; in { + services.postgresqlBackup = { + enable = true; + databases = [ "mastodon" ]; + }; + # Until merge of https://github.com/NixOS/nixpkgs/pull/202408 systemd.services.mastodon-sidekiq.serviceConfig.ExecStart = lib.mkForce "${sidekiq-manager}";