diff options
author | lassulus <lassulus@lassul.us> | 2022-07-20 17:24:08 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2022-07-20 17:24:08 +0200 |
commit | 42e91b31915fd4f5e5bab5bb0045691975d223d5 (patch) | |
tree | 57d79193dcdaee3172a4f7fae2e54981c4aea731 /makefu/2configs/home | |
parent | 2c03c42bd62e6890f4193e3023b286a80e6d1dcd (diff) | |
parent | 89d04e250514a3dc1c8f4dd6e073cdfe6b3f4a05 (diff) |
Merge remote-tracking branch 'gum/22.05'
Diffstat (limited to 'makefu/2configs/home')
-rw-r--r-- | makefu/2configs/home/ham/automation/check-in.nix | 19 | ||||
-rw-r--r-- | makefu/2configs/home/ham/default.nix | 2 | ||||
-rw-r--r-- | makefu/2configs/home/photoprism.nix | 2 |
3 files changed, 20 insertions, 3 deletions
diff --git a/makefu/2configs/home/ham/automation/check-in.nix b/makefu/2configs/home/ham/automation/check-in.nix index 3a7ebe9ac..d589a6971 100644 --- a/makefu/2configs/home/ham/automation/check-in.nix +++ b/makefu/2configs/home/ham/automation/check-in.nix @@ -7,8 +7,25 @@ let in { services.home-assistant.config.input_boolean.felix_at_work.name = "Felix auf Arbeit"; + services.home-assistant.config.script.start_office_radio.sequence = + [ + { service = "media_player.play_media"; + data = { + media_content_id = "http://radio.lassul.us:8000/radio.mp3"; + media_content_type = "music"; + }; + target.entity_id = "media_player.office"; + } + ]; services.home-assistant.config.automation = [ + { service = "media_player.play_media"; + data = { + media_content_id = "http://radio.lassul.us:8000/radio.mp3"; + media_content_type = "music"; + }; + target.entity_id = "media_player.office"; + } { alias = "Push Check-in Button Felix with button"; trigger = [ { @@ -41,7 +58,7 @@ in [ { service = "media_player.play_media"; data = { - media_content_id = "https://radio.lassul.us/radio.mp3"; + media_content_id = "http://radio.lassul.us:8000/radio.mp3"; media_content_type = "music"; }; target.entity_id = "media_player.office"; diff --git a/makefu/2configs/home/ham/default.nix b/makefu/2configs/home/ham/default.nix index 31e7ba419..f63ba3434 100644 --- a/makefu/2configs/home/ham/default.nix +++ b/makefu/2configs/home/ham/default.nix @@ -59,7 +59,7 @@ in { })).override { extraPackages = p: [ (p.callPackage ./deps/dwdwfsapi.nix {}) - (p.callPackage ./signal-rest/pkg.nix {}) + # (p.callPackage ./signal-rest/pkg.nix {}) (p.callPackage ./deps/pykodi.nix {}) ]; }; diff --git a/makefu/2configs/home/photoprism.nix b/makefu/2configs/home/photoprism.nix index ea15f645a..1cd04fd9a 100644 --- a/makefu/2configs/home/photoprism.nix +++ b/makefu/2configs/home/photoprism.nix @@ -46,7 +46,7 @@ in script = '' ${pkgs.docker}/bin/docker network create --driver bridge photoprism ||: ''; - after = [ "docker" ]; + after = [ "docker.service" ]; before = [ "docker-photoprism.service" "docker-mysql-photoprism.service" |