3
0
Fork 0
forked from mirrors/nixpkgs

nixos/networkd: support PrefixDelegationHint in DHCPv6 section

With sytemd v244 we will have support for this option.
This commit is contained in:
Andreas Rammhold 2020-03-07 23:29:37 +01:00
parent 10ad353d8b
commit 00215e5bc0
No known key found for this signature in database
GPG key ID: E432E410B5E48C86

View file

@ -303,6 +303,7 @@ let
checkDhcpV6 = checkUnitConfig "DHCPv6" [
(assertOnlyFields [
"UseDns" "UseNTP" "RapidCommit" "ForceDHCPv6PDOtherInformation"
"PrefixDelegationHint"
])
(assertValueOneOf "UseDNS" boolValues)
(assertValueOneOf "UseNTP" boolValues)