nixos/home-automation: really fix lovelace card entrypoint
This commit is contained in:
parent
2873a73123
commit
b097e95193
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue