m 2 led-fader: wait for mosquitto if defined locally
This commit is contained in:
parent
7ee1c05f63
commit
949dae543d
|
@ -29,6 +29,7 @@ in {
|
||||||
environment = {
|
environment = {
|
||||||
NIX_PATH = "/var/src";
|
NIX_PATH = "/var/src";
|
||||||
};
|
};
|
||||||
|
after = [ (lib.optional config.services.mosqitto.enable "mosquitto.service") ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
# User = "nobody"; # need a user with permissions to run nix-shell
|
# User = "nobody"; # need a user with permissions to run nix-shell
|
||||||
|
|
Loading…
Reference in a new issue