postgresql backups

This commit is contained in:
dump_stack() 2023-01-09 22:41:57 +00:00
parent a08f15df96
commit b72e9e0c2f
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

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