diff options
author | jeschli <jeschli@gmail.com> | 2018-02-18 10:48:18 +0100 |
---|---|---|
committer | jeschli <jeschli@gmail.com> | 2018-02-18 10:48:18 +0100 |
commit | 52b846c98b21f19c2a138361191439c487fc87cc (patch) | |
tree | c5182446981dd14df8da4060148980af9e27f08a /makefu/2configs/deployment/led-fader.nix | |
parent | 94c59247d13622b0293be54cdb5893526434f5d1 (diff) | |
parent | 13e289a69d1c901e6f1a044ce8973433e9e43880 (diff) |
Merge branch 'master' of prism.r:stockholm into staging/jeschli
Diffstat (limited to 'makefu/2configs/deployment/led-fader.nix')
-rw-r--r-- | makefu/2configs/deployment/led-fader.nix | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/makefu/2configs/deployment/led-fader.nix b/makefu/2configs/deployment/led-fader.nix index 292b6679d..d34b66125 100644 --- a/makefu/2configs/deployment/led-fader.nix +++ b/makefu/2configs/deployment/led-fader.nix @@ -2,25 +2,7 @@ let mq = "192.168.8.11"; - - pkg = pkgs.python3Packages.buildPythonPackage { - name = "ampel-master"; - - src = pkgs.fetchgit { - url = "http://cgit.euer.krebsco.de/ampel"; - rev = "531741b"; - sha256 = "110yij53jz074zbswylbzcd8jy7z49r9fg6i3j1gk2y3vl91g81c"; - }; - propagatedBuildInputs = with pkgs.python3Packages; [ - docopt - paho-mqtt - requests - pytz - influxdb - httplib2 - google_api_python_client - ]; - }; + pkg = pkgs.ampel; in { systemd.services.led-fader = { description = "Send led change to message queue"; |