about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorAndreas Rammhold <andreas@rammhold.de>2020-03-07 23:29:37 +0100
committerAndreas Rammhold <andreas@rammhold.de>2020-05-01 13:33:55 +0200
commit00215e5bc0f046b0da8af5f5955b13ee8d915d51 (patch)
treee11c07487e870f737a378fb95dcfb2fb3d0be320 /nixos
parent10ad353d8bb256339a30b48da3747c809f2ad0ab (diff)
nixos/networkd: support PrefixDelegationHint in DHCPv6 section
With sytemd v244 we will have support for this option.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/system/boot/networkd.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix
index b06808fd64a02..9b34b12e73a50 100644
--- a/nixos/modules/system/boot/networkd.nix
+++ b/nixos/modules/system/boot/networkd.nix
@@ -303,6 +303,7 @@ let
   checkDhcpV6 = checkUnitConfig "DHCPv6" [
     (assertOnlyFields [
       "UseDns" "UseNTP" "RapidCommit" "ForceDHCPv6PDOtherInformation"
+      "PrefixDelegationHint"
     ])
     (assertValueOneOf "UseDNS" boolValues)
     (assertValueOneOf "UseNTP" boolValues)