lor.sh/disable-services.nix

15 lines
713 B
Nix
Raw Normal View History

2023-01-09 22:43:15 +00:00
{ lib, ... }:
{
systemd.services."mastodon-init-db".wantedBy = lib.mkForce [ ];
systemd.services."mastodon-init-dirs".wantedBy = lib.mkForce [ ];
systemd.services."mastodon-media-auto-remove".startAt = lib.mkForce [ ];
systemd.services."mastodon-media-auto-remove".wantedBy = lib.mkForce [ ];
systemd.services."mastodon-sidekiq".wantedBy = lib.mkForce [ ];
systemd.services."mastodon-streaming".wantedBy = lib.mkForce [ ];
systemd.services."mastodon-web".wantedBy = lib.mkForce [ ];
2023-01-09 23:03:52 +00:00
systemd.services."postgresqlBackup-mastodon".startAt = lib.mkForce [ ];
systemd.services."postgresqlBackup-mastodon".wantedBy = lib.mkForce [ ];
2023-01-09 22:43:15 +00:00
systemd.services."redis-mastodon".wantedBy = lib.mkForce [ ];
}