nixos-configs/legacyPackages/hass-components/default.nix
matt1432 82a05091a5
All checks were successful
Discord / discord commits (push) Has been skipped
feat(hass): setup netdaemon
2024-10-05 12:38:13 -04:00

10 lines
436 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 {};
netdaemon = buildHassComponent ./netdaemon {};
spotifyplus = import ./spotifyplus ({inherit buildHassComponent;} // inputs);
tuya-local = buildHassComponent ./tuya-local {};
})