diff options
author | sohalt <sohalt@sohalt.net> | 2022-08-25 10:35:22 +0200 |
---|---|---|
committer | sohalt <sohalt@sohalt.net> | 2022-08-26 11:42:58 +0200 |
commit | 8b74b21d237eb4be2e769f4f5ef24e6361f8edcc (patch) | |
tree | 70d44e51d4710049755c0a71f5acb6c4ac21a517 /nixos/modules/system | |
parent | 629ec1b38a27b08628cff24724fcf806ccda14e2 (diff) | |
download | nixlib-8b74b21d237eb4be2e769f4f5ef24e6361f8edcc.tar nixlib-8b74b21d237eb4be2e769f4f5ef24e6361f8edcc.tar.gz nixlib-8b74b21d237eb4be2e769f4f5ef24e6361f8edcc.tar.bz2 nixlib-8b74b21d237eb4be2e769f4f5ef24e6361f8edcc.tar.lz nixlib-8b74b21d237eb4be2e769f4f5ef24e6361f8edcc.tar.xz nixlib-8b74b21d237eb4be2e769f4f5ef24e6361f8edcc.tar.zst nixlib-8b74b21d237eb4be2e769f4f5ef24e6361f8edcc.zip |
nixos/networkd: add missing options for DHCPServer and IPV6SendRA
Diffstat (limited to 'nixos/modules/system')
-rw-r--r-- | nixos/modules/system/boot/networkd.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix index 337d238f910d..c6f410dc827a 100644 --- a/nixos/modules/system/boot/networkd.nix +++ b/nixos/modules/system/boot/networkd.nix @@ -800,10 +800,12 @@ let sectionDHCPServer = checkUnitConfig "DHCPServer" [ (assertOnlyFields [ + "ServerAddress" "PoolOffset" "PoolSize" "DefaultLeaseTimeSec" "MaxLeaseTimeSec" + "UplinkInterface" "EmitDNS" "DNS" "EmitNTP" @@ -817,10 +819,15 @@ let "EmitLPR" "LPR" "EmitRouter" + "Router" "EmitTimezone" "Timezone" "SendOption" "SendVendorOption" + "BindToInterface" + "RelayTarget" + "RelayAgentCircuitId" + "RelayAgentRemoteId" ]) (assertInt "PoolOffset") (assertMinimum "PoolOffset" 0) @@ -834,6 +841,7 @@ let (assertValueOneOf "EmitLPR" boolValues) (assertValueOneOf "EmitRouter" boolValues) (assertValueOneOf "EmitTimezone" boolValues) + (assertValueOneOf "BindToInterface" boolValues) ]; sectionIPv6SendRA = checkUnitConfig "IPv6SendRA" [ @@ -842,6 +850,7 @@ let "OtherInformation" "RouterLifetimeSec" "RouterPreference" + "UplinkInterface" "EmitDNS" "DNS" "EmitDomains" |