vno1-oh2: esphome
This commit is contained in:
parent
2e2cc27364
commit
9535144280
1
data.nix
1
data.nix
@ -112,6 +112,7 @@ rec {
|
|||||||
mHosts =
|
mHosts =
|
||||||
attrVals [
|
attrVals [
|
||||||
"mxp10.motiejus.jakst"
|
"mxp10.motiejus.jakst"
|
||||||
|
"mtwork.motiejus.jakst"
|
||||||
"fwminex.motiejus.jakst"
|
"fwminex.motiejus.jakst"
|
||||||
]
|
]
|
||||||
hosts;
|
hosts;
|
||||||
|
@ -13,12 +13,18 @@ in {
|
|||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
mj.services.friendlyport.ports = [
|
mj.services.friendlyport.ports = [
|
||||||
{
|
{
|
||||||
subnets = [myData.subnets.tailscale.cidr];
|
subnets = myData.subnets.motiejus.cidrs;
|
||||||
tcp = [myData.ports.hass];
|
tcp = [myData.ports.hass];
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
subnets = myData.subnets.motiejus.cidrs;
|
||||||
|
tcp = [config.services.esphome.port];
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
esphome.enable = true;
|
||||||
|
|
||||||
home-assistant = {
|
home-assistant = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraComponents = [
|
extraComponents = [
|
||||||
|
Loading…
Reference in New Issue
Block a user