diff options
author | makefu <github@syntax-fehler.de> | 2020-11-18 20:50:43 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2020-11-18 20:51:14 +0100 |
commit | a54974412751c98dec78b5e3977afc4a97aadea9 (patch) | |
tree | a096472a2c762f04a67a795a922f26259517dd7a /makefu/2configs/bureautomation/camera/comic.nix | |
parent | f66309f0289c76dc9797573a73acbad186f4e380 (diff) |
ma bureautomation: move to 20.09 style imports
Diffstat (limited to 'makefu/2configs/bureautomation/camera/comic.nix')
-rw-r--r-- | makefu/2configs/bureautomation/camera/comic.nix | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/makefu/2configs/bureautomation/camera/comic.nix b/makefu/2configs/bureautomation/camera/comic.nix index a523d032e..ae24760e3 100644 --- a/makefu/2configs/bureautomation/camera/comic.nix +++ b/makefu/2configs/bureautomation/camera/comic.nix @@ -1,10 +1,13 @@ -[ - { name = "Poorly Drawn Lines"; - platform = "generic"; - still_image_url = http://127.0.0.1:8123/local/lines.png ; - } - { name = "XKCD"; - platform = "generic"; - still_image_url = http://127.0.0.1:8123/local/xkcd.png ; - } -] +{ + services.home-assistant.config.camera = + [ + { name = "Poorly Drawn Lines"; + platform = "generic"; + still_image_url = http://127.0.0.1:8123/local/lines.png ; + } + { name = "XKCD"; + platform = "generic"; + still_image_url = http://127.0.0.1:8123/local/xkcd.png ; + } + ]; +} |