diff --git a/configs/pepe/home-assistant/iot-control.nix b/configs/pepe/home-assistant/iot-control.nix index d778358..5033693 100644 --- a/configs/pepe/home-assistant/iot-control.nix +++ b/configs/pepe/home-assistant/iot-control.nix @@ -2,25 +2,23 @@ users.users.heater-control = { }; - systemd.services.heater-control = { - enable = true; - wantedBy = [ "multi-user.target" ]; - - serviceConfig = { User = "heater-control"; }; - script = - let myPython = pkgs.python3.withPackages (ps: with ps; [ paho-mqtt ]); - in '' - cd ${} - ${myPython}/bin/python heater.py - ''; - }; + #systemd.services.heater-control = { + # enable = true; + # wantedBy = [ "multi-user.target" ]; + # serviceConfig = { User = "heater-control"; }; + # script = + # let myPython = pkgs.python3.withPackages (ps: with ps; [ paho-mqtt ]); + # in '' + # cd ${} + # ${myPython}/bin/python heater.py + # ''; + #}; users.users.fyrtur-control = { }; systemd.services.fyrtur-control = { enable = true; wantedBy = [ "multi-user.target" ]; - serviceConfig = { User = "fyrtur-control"; }; script = let myPython = pkgs.python3.withPackages (ps: with ps; [ paho-mqtt ]);