diff options
author | Martin Fischer <martin@push-f.com> | 2025-01-25 12:38:32 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2025-01-25 13:01:47 +0100 |
commit | 3ad66fff993f73652b7172baf1bddd98642b61e4 (patch) | |
tree | 78140954218713a054bc90c7871e557613d07560 | |
parent | 583732cb08ceb5d2ad6cd0c7ac13b06096c31235 (diff) |
feat(ev): add hosehawkhosehawk
-rw-r--r-- | nixos/hosts/ev/default.nix | 1 | ||||
-rw-r--r-- | nixos/hosts/ev/hosehawk.nix | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/nixos/hosts/ev/default.nix b/nixos/hosts/ev/default.nix index e59ec01..86c704c 100644 --- a/nixos/hosts/ev/default.nix +++ b/nixos/hosts/ev/default.nix @@ -15,6 +15,7 @@ ./home-automation.nix ./kodi.nix ./torrent.nix + ./hosehawk.nix ]; home-automation.zigbee2mqttPort = 8080; diff --git a/nixos/hosts/ev/hosehawk.nix b/nixos/hosts/ev/hosehawk.nix new file mode 100644 index 0000000..27db394 --- /dev/null +++ b/nixos/hosts/ev/hosehawk.nix @@ -0,0 +1,14 @@ +{ config, pkgs, ... }: + +{ + imports = [ + /srv/unstable/hosehawk/services/hosenest.nix + /srv/unstable/hosehawk/services/hosehawk.nix + ]; + + services.hosenest.enable = true; + services.hosehawk = { + enable = true; + hosenestUrl = "http://localhost:${toString config.services.hosenest.port}/api"; + }; +} |