nixpkgs/pkgs/servers/home-assistant/custom-lovelace-modules/README.md
Martin Weinelt 9a941c58e5
nixos/home-assistant: add customLovelaceModules support
Allows the installation of custom lovelace modules, that can inject
css/js into the frontend and offer a wide variety of widgets.
2023-11-10 22:00:30 +01:00

317 B

Packaging guidelines

Entrypoint

Every lovelace module has an entrypoint in the form of a .js file. By default the nixos module will try to load ${pname}.js when a module is configured.

The entrypoint used can be overridden in passthru like this:

passthru.entrypoint = "demo-card-bundle.js";