vno1-oh2: esphome

This commit is contained in:
Motiejus Jakštys 2023-11-14 23:30:00 +02:00
parent 2e2cc27364
commit 9535144280
2 changed files with 8 additions and 1 deletions

View File

@ -112,6 +112,7 @@ rec {
mHosts =
attrVals [
"mxp10.motiejus.jakst"
"mtwork.motiejus.jakst"
"fwminex.motiejus.jakst"
]
hosts;

View File

@ -13,12 +13,18 @@ in {
config = lib.mkIf cfg.enable {
mj.services.friendlyport.ports = [
{
subnets = [myData.subnets.tailscale.cidr];
subnets = myData.subnets.motiejus.cidrs;
tcp = [myData.ports.hass];
}
{
subnets = myData.subnets.motiejus.cidrs;
tcp = [config.services.esphome.port];
}
];
services = {
esphome.enable = true;
home-assistant = {
enable = true;
extraComponents = [