diff --git a/modules/services/dandelion.nix b/modules/services/dandelion.nix index 2383c3d..e048365 100644 --- a/modules/services/dandelion.nix +++ b/modules/services/dandelion.nix @@ -1,7 +1,9 @@ -{ ... }: { +{ ... }: +{ imports = - [(import ./docker.nix)] - ++ [(import ./immich.nix)] - ++ [(import ./nextcloud.nix)] - ++ [(import ./scrutiny.nix)]; + [ (import ./docker.nix) ] + ++ [ (import ./immich.nix) ] + ++ [ (import ./nextcloud.nix) ] + ++ [ (import ./home-assistant.nix) ] + ++ [ (import ./scrutiny.nix) ]; } diff --git a/modules/services/home-assistant.nix b/modules/services/home-assistant.nix new file mode 100644 index 0000000..d978f91 --- /dev/null +++ b/modules/services/home-assistant.nix @@ -0,0 +1,16 @@ +{ + services.home-assistant = { + enable = true; + extraComponents = [ + # Components required to complete the onboarding + "esphome" + "met" + "radio_browser" + ]; + config = { + # Includes dependencies for a basic setup + # https://www.home-assistant.io/integrations/default_config/ + default_config = { }; + }; + }; +}