nixpkgs/pkgs/servers/home-assistant/custom-lovelace-modules
Janne Heß fcc95ff817 treewide: Fix all Nix ASTs in all markdown files
This allows for correct highlighting and maybe future automatic
formatting. The AST was verified to work with nixfmt only.
2024-03-28 09:28:12 +01:00
..
light-entity-card
mini-graph-card home-assistant-custom-lovelace-modules.mini-graph-card: 0.12.0 -> 0.12.1 2024-03-20 21:34:10 +01:00
mini-media-player
multiple-entity-row
mushroom
zigbee2mqtt-networkmap
default.nix
README.md treewide: Fix all Nix ASTs in all markdown files 2024-03-28 09:28:12 +01:00

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";
}