dhcp file leases with lan name
This commit is contained in:
parent
4343865e6f
commit
35710f6d3c
2 changed files with 10 additions and 3 deletions
|
|
@ -1,12 +1,12 @@
|
|||
args@{ config, pkgs, lib, vmixLib, ... }:
|
||||
with lib;
|
||||
{
|
||||
options.vmix.global.net.wan.ipv4.range = lib.mkOption {
|
||||
options.vmix.global.net.wan.ipv4.range = mkOption {
|
||||
type = types.strMatching vmixLib.network.regex.cidr4;
|
||||
default = "172.27.72.0/24"; # enough to create 64x /30 networks for veth pairs used for wan interfaces
|
||||
};
|
||||
|
||||
options.vmix.networks = lib.mkOption {
|
||||
options.vmix.networks = mkOption {
|
||||
type = types.attrsOf
|
||||
(types.submodule (import ./options.nix args));
|
||||
default = { };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue