1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 14:50:40 +02:00

feat: test home assistant

This commit is contained in:
oddlama 2023-01-20 15:32:24 +01:00
parent 7ff57aa6e4
commit 1ac6b5421d
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A

View file

@ -1,4 +1,5 @@
{
config,
nixos-hardware,
pkgs,
...
@ -43,4 +44,23 @@
fwupd.enable = true;
smartd.enable = true;
};
services.home-assistant = {
enable = true;
extraComponents = ["default_config" "met" "zha"];
openFirewall = true;
config = {
default_config = {};
met = {};
};
};
#networking.firewall.allowedTCPPorts = [1883];
#services.zigbee2mqtt.enable = true;
#services.zigbee2mqtt.settings = {
# homeassistant = config.services.home-assistant.enable;
# permit_join = true;
# serial = {
# port = "/dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0";
# };
#};
}