lor.sh/disable-services.nix

15 lines
717 B
Nix

{ 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-all".wantedBy = lib.mkForce [ ];
systemd.services."mastodon-streaming".wantedBy = lib.mkForce [ ];
systemd.services."mastodon-web".wantedBy = lib.mkForce [ ];
systemd.services."postgresqlBackup-mastodon".startAt = lib.mkForce [ ];
systemd.services."postgresqlBackup-mastodon".wantedBy = lib.mkForce [ ];
systemd.services."redis-mastodon".wantedBy = lib.mkForce [ ];
}