diff --git a/disable-services.nix b/disable-services.nix new file mode 100644 index 0000000..13d192b --- /dev/null +++ b/disable-services.nix @@ -0,0 +1,16 @@ +{ lib, ... }: + +{ + services."nginx".virtualHosts."lor.sh".enableACME = lib.mkForce false; + services."nginx".virtualHosts."lor.sh".forceSSL = lib.mkForce false; + 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 [ ]; + systemd.services."nginx".wantedBy = lib.mkForce [ ]; + systemd.services."nginx-config-reload".wantedBy = lib.mkForce [ ]; + systemd.services."redis-mastodon".wantedBy = lib.mkForce [ ]; +}