Fix ha after move to unstable

This commit is contained in:
Torjus Håkestad 2024-06-01 21:58:19 +02:00
parent bffbc4b9a3
commit 7f625ae39d

View File

@ -1,11 +1,12 @@
{ pkgs, ... }:
{ pkgs, config, ... }:
{
# Enable the Home Assistant service
services.home-assistant = {
enable = true;
package = pkgs.unstable.home-assistant;
configWritable = true;
config = null;
extraPackages = python3Packages: with pkgs.python3Packages; [
extraPackages = python3Packages: with pkgs.unstable.python312Packages; [
aiopyarr
zigpy-cc
zigpy-znp
@ -21,6 +22,8 @@
pyunifiprotect
unifi-discovery
universal-silabs-flasher
vacuum-map-parser-base
vacuum-map-parser-roborock
python-roborock
];
customComponents = with pkgs.home-assistant-custom-components; [
@ -45,6 +48,12 @@
enable = true;
package = pkgs.unstable.zigbee2mqtt;
settings = {
homeassistant = {
legacy_entity_attributes = false;
legacy_triggers = false;
};
availability = true;
frontend = true;
permit_join = false;
serial.port = "/dev/ttyUSB0";
};