From 1c36f5d2b4e16f67f68e01888010440a74f11fc3 Mon Sep 17 00:00:00 2001 From: Nathan Date: Sat, 25 Apr 2026 08:34:45 -0500 Subject: [PATCH] hotspot test --- modules/features/hotspot.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/modules/features/hotspot.nix b/modules/features/hotspot.nix index 0f3c7b8..0de171c 100644 --- a/modules/features/hotspot.nix +++ b/modules/features/hotspot.nix @@ -3,11 +3,18 @@ flake.nixosModules.hotspot = { config, lib, ... }: { networking.firewall.interfaces."wlo1" = { + ipv4.addresses = [{ address = "192.168.121.1"; prefixLength = 32; }]; allowedUDPPorts = [ 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;