hotspot test

This commit is contained in:
2026-04-25 08:34:45 -05:00
parent fb6d6a600f
commit 1c36f5d2b4

View File

@@ -3,11 +3,18 @@
flake.nixosModules.hotspot = { config, lib, ... }: { flake.nixosModules.hotspot = { config, lib, ... }: {
networking.firewall.interfaces."wlo1" = { networking.firewall.interfaces."wlo1" = {
ipv4.addresses = [{ address = "192.168.121.1"; prefixLength = 32; }];
allowedUDPPorts = [ 53 67 68 ]; allowedUDPPorts = [ 53 67 68 ];
allowedTCPPorts = [ 53 67 68 ]; allowedTCPPorts = [ 53 67 68 ];
}; };
services.dnsmasq.enable = true; services.dnsmasq = {
enable = true;
settings = {
interface = "wlo1";
dhcp-range = [ "192.168.121.2,192.168.121.10,1h" ];
};
};
sops.secrets."hotspotPass".sopsFile = ./secrets.yaml; sops.secrets."hotspotPass".sopsFile = ./secrets.yaml;