hotspot test
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{ ... }: {
|
{ ... }: {
|
||||||
|
|
||||||
flake.nixosModules.hotspot = { config, lib, ... }: {
|
flake.nixosModules.ethdhcp = { config, lib, ... }: {
|
||||||
|
|
||||||
networking.firewall.interfaces."eno1" = {
|
networking.firewall.interfaces."eno1" = {
|
||||||
allowedUDPPorts = [ 53 67 68 ];
|
allowedUDPPorts = [ 53 67 68 ];
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
interface = "eno1";
|
interface = "eno1";
|
||||||
dhcp-range = [ "192.168.121.2,192.168.121.10,1h" ];
|
dhcp-range = [ "192.168.121.2,192.168.121.2,1h" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user