feat(myceluim): disable autostart while leaving service available
This commit is contained in:
parent
f49979961e
commit
64d1184518
1 changed files with 6 additions and 1 deletions
|
@ -4,8 +4,11 @@
|
|||
nodeName,
|
||||
config,
|
||||
system,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
}: let
|
||||
cfg.autostart = false;
|
||||
in {
|
||||
imports = [
|
||||
];
|
||||
|
||||
|
@ -27,4 +30,6 @@
|
|||
extraArgs = [
|
||||
];
|
||||
};
|
||||
|
||||
systemd.services.mycelium.wantedBy = lib.mkIf (!cfg.autostart) (lib.mkForce []);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue