mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
feat(hass): moonraker
This commit is contained in:
parent
2498aad35b
commit
67108c0d41
2 changed files with 8 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
pkgs,
|
||||||
config,
|
config,
|
||||||
access,
|
access,
|
||||||
gensokyo-zone,
|
gensokyo-zone,
|
||||||
|
|
@ -186,6 +187,9 @@ in {
|
||||||
"withings"
|
"withings"
|
||||||
"wled"
|
"wled"
|
||||||
];
|
];
|
||||||
|
customComponents = [
|
||||||
|
pkgs.home-assistant-custom-components.moonraker
|
||||||
|
];
|
||||||
};
|
};
|
||||||
systemd.services.home-assistant = mkIf cfg.enable {
|
systemd.services.home-assistant = mkIf cfg.enable {
|
||||||
gensokyo-zone.sharedMounts.hass.path = mkDefault cfg.configDir;
|
gensokyo-zone.sharedMounts.hass.path = mkDefault cfg.configDir;
|
||||||
|
|
|
||||||
|
|
@ -48,6 +48,10 @@
|
||||||
# XXX: only safe when protected behind vouch!
|
# XXX: only safe when protected behind vouch!
|
||||||
++ [ "0.0.0.0/0" "::/0" ];
|
++ [ "0.0.0.0/0" "::/0" ];
|
||||||
};
|
};
|
||||||
|
machine = {
|
||||||
|
# disable all machine control
|
||||||
|
provider = "none";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue