diff options
Diffstat (limited to 'nixos/hosts')
-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"; + }; +} |