cleanup hass some

This commit is contained in:
mjallen18
2025-08-26 20:14:18 -05:00
parent 68f6ced410
commit 02085e7ff1
6 changed files with 408 additions and 410 deletions

View File

@@ -1,7 +1,13 @@
{ lib, namespace, ... }:
with lib;
let
inherit (lib.${namespace}) mkOpt;
in
{
options.${namespace}.services.home-assistant = {
enable = mkEnableOption "enable home-assistant";
mosquittoPort = mkOpt types.int 1883 "Port for MQTT";
zigbee2mqttPort = mkOpt types.int 8080 "Port for zigbee2mqtt web interface";
zigbeeDevicePath = mkOpt types.str "/dev/ttyUSB0" "Path to zigbee usb device";
};
}