nixos-configs/legacyPackages/hass-components/default.nix
matt1432 eb5f04096e
All checks were successful
Discord / discord commits (push) Has been skipped
feat(hass): use ha-fallback with custom sentences
2024-10-07 15:15:29 -04:00

11 lines
515 B
Nix

{pkgs, ...} @ inputs:
pkgs.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 {};
})