vno1-oh2: esphome
This commit is contained in:
parent
2e2cc27364
commit
9535144280
1
data.nix
1
data.nix
@ -112,6 +112,7 @@ rec {
|
||||
mHosts =
|
||||
attrVals [
|
||||
"mxp10.motiejus.jakst"
|
||||
"mtwork.motiejus.jakst"
|
||||
"fwminex.motiejus.jakst"
|
||||
]
|
||||
hosts;
|
||||
|
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user