mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
feat(hass): grocy custom component
This commit is contained in:
parent
cc58ac96e5
commit
c3cb52066c
3 changed files with 68 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ in {
|
|||
// {
|
||||
default = elem "androidtv" cfg.extraComponents;
|
||||
};
|
||||
grocy.enable = mkEnableOption "Grocy custom component";
|
||||
brother.enable =
|
||||
mkEnableOption "brother"
|
||||
// {
|
||||
|
|
@ -251,6 +252,9 @@ in {
|
|||
adb-shell
|
||||
androidtvremote2
|
||||
])
|
||||
(mkIf cfg.grocy.enable [
|
||||
(python3Packages.callPackage ../../packages/grocy/pygrocy.nix { })
|
||||
])
|
||||
];
|
||||
extraComponents = mkMerge [
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue