nixos-configs/legacyPackages/hass-components/default.nix
matt1432 e47f6ea0d7
All checks were successful
Discord / discord commits (push) Has been skipped
feat(hass): setup custom-sidebar
2024-10-16 20:12:27 -04:00

15 lines
523 B
Nix

{
lib,
pkgs,
...
} @ inputs:
lib.makeScope pkgs.newScope (hass: let
buildHassComponent = file: extraArgs:
hass.callPackage file (inputs // extraArgs // {});
in {
extended-ollama-conversation = buildHassComponent ./extended-ollama-conversation {};
ha-fallback-conversation = buildHassComponent ./ha-fallback-conversation {};
netdaemon = buildHassComponent ./netdaemon {};
spotifyplus = import ./spotifyplus ({inherit buildHassComponent;} // inputs);
tuya-local = buildHassComponent ./tuya-local {};
})