summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-06-27 21:02:36 +0200
committermakefu <github@syntax-fehler.de>2017-06-27 21:02:36 +0200
commitdca58fbc212468cb97e15ac1fc2f47a1693c7ff3 (patch)
tree033cbdb0f236bd2494525f0e9d2bed9667503d03
parentb28b68250d13bfa15b6cc58e597873737e616e93 (diff)
make led-fader: after networ-online.target
-rw-r--r--makefu/2configs/deployment/led-fader.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/makefu/2configs/deployment/led-fader.nix b/makefu/2configs/deployment/led-fader.nix
index 50023693d..678370c69 100644
--- a/makefu/2configs/deployment/led-fader.nix
+++ b/makefu/2configs/deployment/led-fader.nix
@@ -31,6 +31,7 @@ in {
};
# after = [ (lib.optional config.services.mosqitto.enable "mosquitto.service") ];
wantedBy = [ "multi-user.target" ];
+ after = [ "network-online.target" ];
serviceConfig = {
# User = "nobody"; # need a user with permissions to run nix-shell
ExecStart = "${pkg}/bin/ampel 4 ${pkg}/share/times.json";