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