From 3ad66fff993f73652b7172baf1bddd98642b61e4 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sat, 25 Jan 2025 12:38:32 +0100 Subject: feat(ev): add hosehawk --- nixos/hosts/ev/default.nix | 1 + nixos/hosts/ev/hosehawk.nix | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 nixos/hosts/ev/hosehawk.nix 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"; + }; +} -- cgit v1.2.3