about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/home-assistant/custom-lovelace-modules/README.md
blob: b67fd0fb91d842d8bb24209095d15a8ce21fdcf5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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:

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