summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2019-02-22 17:28:59 +0100
committerRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2019-02-22 17:33:18 +0100
commite211f55d8723012c61d54f8260d9178d05a9038a (patch)
tree0b83d1b7fd92f5d1696eeea89d754086d90e4509 /nixos
parentfce431ff667e75d99b1fd2e86f914d88b12eee30 (diff)
downloadnixpkgs-e211f55d8723012c61d54f8260d9178d05a9038a.tar
nixpkgs-e211f55d8723012c61d54f8260d9178d05a9038a.tar.gz
nixpkgs-e211f55d8723012c61d54f8260d9178d05a9038a.tar.bz2
nixpkgs-e211f55d8723012c61d54f8260d9178d05a9038a.tar.lz
nixpkgs-e211f55d8723012c61d54f8260d9178d05a9038a.tar.xz
nixpkgs-e211f55d8723012c61d54f8260d9178d05a9038a.tar.zst
nixpkgs-e211f55d8723012c61d54f8260d9178d05a9038a.zip
nixos/home-assistant: use availableComponents of configured package
fixes #55958
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/misc/home-assistant.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/home-assistant.nix b/nixos/modules/services/misc/home-assistant.nix
index 4ccfa22c89e..95a7f2ea989 100644
--- a/nixos/modules/services/misc/home-assistant.nix
+++ b/nixos/modules/services/misc/home-assistant.nix
@@ -19,7 +19,7 @@ let
     ${pkgs.remarshal}/bin/json2yaml -i ${lovelaceConfigJSON} -o $out
   '';
 
-  availableComponents = pkgs.home-assistant.availableComponents;
+  availableComponents = cfg.package.availableComponents;
 
   # Given component "parentConfig.platform", returns whether config.parentConfig
   # is a list containing a set with set.platform == "platform".