summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Rammhold <andreas@rammhold.de>2021-10-05 10:06:05 +0200
committerGitHub <noreply@github.com>2021-10-05 10:06:05 +0200
commit0873980dc878b343f80337e80f25967128f9729a (patch)
treeeb7d932a3b2a94e518337bbb6b97a700f6a22948
parenta4b0e3042b33c07f0fb8f6eaf4e69c0cf8520e46 (diff)
parent4b8bd41060e72e6593131a52b915dc37b3f0c0a6 (diff)
downloadnixpkgs-0873980dc878b343f80337e80f25967128f9729a.tar
nixpkgs-0873980dc878b343f80337e80f25967128f9729a.tar.gz
nixpkgs-0873980dc878b343f80337e80f25967128f9729a.tar.bz2
nixpkgs-0873980dc878b343f80337e80f25967128f9729a.tar.lz
nixpkgs-0873980dc878b343f80337e80f25967128f9729a.tar.xz
nixpkgs-0873980dc878b343f80337e80f25967128f9729a.tar.zst
nixpkgs-0873980dc878b343f80337e80f25967128f9729a.zip
Merge pull request #139754 from eyJhb/networkd-iaid
nixos/networkd: added IAID, DUIDType and DUIDRawData to DHCPv6 section
-rw-r--r--nixos/modules/system/boot/networkd.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix
index a50abc73511..51e105bf627 100644
--- a/nixos/modules/system/boot/networkd.nix
+++ b/nixos/modules/system/boot/networkd.nix
@@ -668,6 +668,9 @@ let
           "SendOption"
           "UserClass"
           "VendorClass"
+          "DUIDType"
+          "DUIDRawData"
+          "IAID"
         ])
         (assertValueOneOf "UseAddress" boolValues)
         (assertValueOneOf "UseDNS" boolValues)
@@ -677,6 +680,7 @@ let
         (assertValueOneOf "ForceDHCPv6PDOtherInformation" boolValues)
         (assertValueOneOf "WithoutRA" ["solicit" "information-request"])
         (assertRange "SendOption" 1 65536)
+        (assertInt "IAID")
       ];
 
       sectionDHCPv6PrefixDelegation = checkUnitConfig "DHCPv6PrefixDelegation" [