summary refs log tree commit diff
path: root/nixos/modules/system/boot/networkd.nix
diff options
context:
space:
mode:
authoreyjhb <eyjhbb@gmail.com>2021-09-28 15:33:06 +0200
committereyjhb <eyjhbb@gmail.com>2021-09-28 15:33:06 +0200
commit4b8bd41060e72e6593131a52b915dc37b3f0c0a6 (patch)
treef07937238aa22ea05a6083cf9df2880152d5033b /nixos/modules/system/boot/networkd.nix
parente3b5143614b6242b65f09b71850e1807126e2f33 (diff)
downloadnixpkgs-4b8bd41060e72e6593131a52b915dc37b3f0c0a6.tar
nixpkgs-4b8bd41060e72e6593131a52b915dc37b3f0c0a6.tar.gz
nixpkgs-4b8bd41060e72e6593131a52b915dc37b3f0c0a6.tar.bz2
nixpkgs-4b8bd41060e72e6593131a52b915dc37b3f0c0a6.tar.lz
nixpkgs-4b8bd41060e72e6593131a52b915dc37b3f0c0a6.tar.xz
nixpkgs-4b8bd41060e72e6593131a52b915dc37b3f0c0a6.tar.zst
nixpkgs-4b8bd41060e72e6593131a52b915dc37b3f0c0a6.zip
nixos/networkd: added IAID, DUIDType and DUIDRawData to DHCPv6 section
Diffstat (limited to 'nixos/modules/system/boot/networkd.nix')
-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 bf254be1341..d4d4d877a38 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" [