feat(myceluim): disable autostart while leaving service available

This commit is contained in:
steveej 2024-10-13 20:19:35 +02:00
parent f49979961e
commit 64d1184518

View file

@ -4,8 +4,11 @@
nodeName, nodeName,
config, config,
system, system,
lib,
... ...
}: { }: let
cfg.autostart = false;
in {
imports = [ imports = [
]; ];
@ -27,4 +30,6 @@
extraArgs = [ extraArgs = [
]; ];
}; };
systemd.services.mycelium.wantedBy = lib.mkIf (!cfg.autostart) (lib.mkForce []);
} }