mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
feat: test home assistant
This commit is contained in:
parent
7ff57aa6e4
commit
1ac6b5421d
1 changed files with 20 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
config,
|
||||||
nixos-hardware,
|
nixos-hardware,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
|
@ -43,4 +44,23 @@
|
||||||
fwupd.enable = true;
|
fwupd.enable = true;
|
||||||
smartd.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";
|
||||||
|
# };
|
||||||
|
#};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue