auto generate dhcp start and end address

This commit is contained in:
Sagar Ch 2024-06-04 20:18:00 +00:00
parent 392375b046
commit e4975a4cec
2 changed files with 11 additions and 1 deletions

View file

@ -118,11 +118,13 @@ with vmixLib.network;
dhcp.startAddress = mkOption {
type = types.nullOr (types.strMatching regex.ipv4);
description = "Starting IP Address for DHCP clients.";
default = null;
};
dhcp.endAddress = mkOption {
type = types.nullOr (types.strMatching regex.ipv4);
description = "Ending IP Address for DHCP clients.";
default = null;
};
dns.upstream = mkOption {