remove esphome

This commit is contained in:
Motiejus Jakštys 2023-11-22 17:01:23 +02:00 committed by Motiejus Jakštys
parent 935cebea6f
commit eb404cce87

View File

@ -1,7 +1,6 @@
{ {
config, config,
lib, lib,
pkgs,
myData, myData,
... ...
}: let }: let
@ -17,24 +16,14 @@ in {
subnets = [myData.subnets.tailscale.cidr]; subnets = [myData.subnets.tailscale.cidr];
tcp = [myData.ports.hass]; tcp = [myData.ports.hass];
} }
{
subnets = myData.subnets.motiejus.cidrs;
tcp = [config.services.esphome.port];
}
]; ];
environment.systemPackages = [pkgs.esphome]; # so it lands in PATH environment.systemPackages = [];
services = { services = {
esphome = {
enable = true;
address = "0.0.0.0";
};
home-assistant = { home-assistant = {
enable = true; enable = true;
extraComponents = [ extraComponents = [
"esphome"
"met" "met"
"radio_browser" "radio_browser"