diff options
author | Zhong Jianxin <azuwis@gmail.com> | 2023-12-10 19:12:55 +0800 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-12-10 14:39:54 +0100 |
commit | bb877630cc400b74742cff2d0ed52a20d6ca688c (patch) | |
tree | 2adb2e964362c16ca3a27d8b2838ff3a6278abab /nixos/modules | |
parent | cf1bbf293814694ddc1f67e336c85d27ee84f2d7 (diff) |
nixos/home-automation: really fix lovelace card entrypoint
(cherry picked from commit b097e95193746184b0dbf32ebc0af79bd8852c66)
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/home-automation/home-assistant.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/home-automation/home-assistant.nix b/nixos/modules/services/home-automation/home-assistant.nix index 66a3879327161..91b043bad3a1a 100644 --- a/nixos/modules/services/home-automation/home-assistant.nix +++ b/nixos/modules/services/home-automation/home-assistant.nix @@ -77,7 +77,7 @@ let # Create parts of the lovelace config that reference lovelave modules as resources customLovelaceModulesResources = { lovelace.resources = map (card: { - url = "/local/nixos-lovelace-modules/${card.entrypoint or card.pname + ".js"}?${card.version}"; + url = "/local/nixos-lovelace-modules/${card.entrypoint or (card.pname + ".js")}?${card.version}"; type = "module"; }) cfg.customLovelaceModules; }; |