diff options
author | Zhong Jianxin <azuwis@gmail.com> | 2023-12-10 19:12:55 +0800 |
---|---|---|
committer | Zhong Jianxin <azuwis@gmail.com> | 2023-12-10 19:12:55 +0800 |
commit | b097e95193746184b0dbf32ebc0af79bd8852c66 (patch) | |
tree | 5896090b20a9f4bdd9ad686ca1f1fdf0a272f0db /nixos/modules | |
parent | 2873a73123077953f3e6f34964466018876d87c4 (diff) |
nixos/home-automation: really fix lovelace card entrypoint
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 0a399e0774d1..8a469f7a015b 100644 --- a/nixos/modules/services/home-automation/home-assistant.nix +++ b/nixos/modules/services/home-automation/home-assistant.nix @@ -75,7 +75,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; }; |