diff options
author | makefu <github@syntax-fehler.de> | 2019-04-17 20:46:58 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2019-04-17 20:46:58 +0200 |
commit | bccb2fd4e51448a2e9794acd47e7df16339f64aa (patch) | |
tree | 7ab3b753abc25989d8c75cda3d9c52ecbb7520ba /makefu/2configs/bureautomation/ota.nix | |
parent | 6fa6659b8fc5d2e00131aa470408a17c9002ac75 (diff) |
ma bureautomation: refactor
Diffstat (limited to 'makefu/2configs/bureautomation/ota.nix')
-rw-r--r-- | makefu/2configs/bureautomation/ota.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/makefu/2configs/bureautomation/ota.nix b/makefu/2configs/bureautomation/ota.nix new file mode 100644 index 000000000..f2f931d21 --- /dev/null +++ b/makefu/2configs/bureautomation/ota.nix @@ -0,0 +1,15 @@ +{ + # mosquitto_pub -t /bam/sonoffs/cmnd/OtaUrl -m "http://192.168.8.11/sonoff.bin" + # mosquitto_pub -t /bam/sonoffs/cmnd/upgrade -m "6.5.0" + # wget https://github.com/arendst/Sonoff-Tasmota/releases/download/v6.5.0/sonoff.bin + # wget https://github.com/arendst/Sonoff-Tasmota/releases/download/v6.5.0/sonoff-minimal.bin + services.nginx = { + enable = true; + virtualHosts."192.168.8.11" = { + root = "/var/www/tasmota"; + extraConfig = '' + autoindex on; + ''; + }; + }; +} |