1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

feat(zackbiene): add dnsmasq for isolated wifi, remove some default HA modules

This commit is contained in:
oddlama 2023-03-25 15:54:03 +01:00
parent 8626fb3f24
commit 2421e2b817
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
3 changed files with 70 additions and 8 deletions

View file

@ -16,12 +16,13 @@
./fs.nix ./fs.nix
./net.nix ./net.nix
./home-assistant.nix ./dnsmasq.nix
./mosquitto.nix
./zigbee2mqtt.nix
./esphome.nix ./esphome.nix
./nginx.nix ./home-assistant.nix
./hostapd.nix ./hostapd.nix
./mosquitto.nix
./nginx.nix
./zigbee2mqtt.nix
]; ];
boot.loader.grub.enable = false; boot.loader.grub.enable = false;

View file

@ -0,0 +1,19 @@
{
services.dnsmasq = {
enable = true;
resolveLocalQueries = false;
extraConfig = ''
interface=wlan1
dhcp-authoritative
dhcp-range=10.0.90.10,10.0.90.240,24h
dhcp-range=fd90::10,fd90::ff0,24h
enable-ra
# Never forward addresses in the non-routed address spaces.
bogus-priv
no-resolv
'';
};
}

View file

@ -38,11 +38,53 @@ in {
manual = "!include manual.yaml"; manual = "!include manual.yaml";
}; };
}; };
#frontend = {
# themes = "!include_dir_merge_named themes";
#};
default_config = {};
met = {}; met = {};
#### only selected components from default_config ####
automation = {};
backup = {};
bluetooth = {};
config = {};
#conversation = {};
counter = {};
dhcp = {};
energy = {};
frontend = {
#themes = "!include_dir_merge_named themes";
};
hardware = {};
history = {};
homeassistant_alerts = {};
#cloud = {};
image_upload = {};
input_boolean = {};
input_button = {};
input_datetime = {};
input_number = {};
input_select = {};
input_text = {};
logbook = {};
logger = {};
map = {};
#media_source = {};
mobile_app = {};
#my = {};
network = {};
person = {};
schedule = {};
scene = {};
script = {};
ssdp = {};
stream = {};
sun = {};
system_health = {};
tag = {};
timer = {};
#usb = {};
webhook = {};
zeroconf = {};
zone = {};
}; };
extraPackages = python3Packages: extraPackages = python3Packages:
with python3Packages; [ with python3Packages; [