diff options
author | Jason Tarasovic <JTarasovic@users.noreply.github.com> | 2023-08-15 15:23:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-15 15:23:57 -0500 |
commit | 521944571a8c573c184c5f46fd438b047f009e47 (patch) | |
tree | 8f3c8d54fb1bcd91f60cc6900b85347829aa44dd /nixos | |
parent | 4ed9856be002a730234a1a1ed9dcd9dd10cbdb40 (diff) | |
download | nixlib-521944571a8c573c184c5f46fd438b047f009e47.tar nixlib-521944571a8c573c184c5f46fd438b047f009e47.tar.gz nixlib-521944571a8c573c184c5f46fd438b047f009e47.tar.bz2 nixlib-521944571a8c573c184c5f46fd438b047f009e47.tar.lz nixlib-521944571a8c573c184c5f46fd438b047f009e47.tar.xz nixlib-521944571a8c573c184c5f46fd438b047f009e47.tar.zst nixlib-521944571a8c573c184c5f46fd438b047f009e47.zip |
systemd-networkd: add dhcpv6Config options
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/system/boot/networkd.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix index 6d0afcc57fcc..ab8054e1b498 100644 --- a/nixos/modules/system/boot/networkd.nix +++ b/nixos/modules/system/boot/networkd.nix @@ -799,6 +799,8 @@ let "UseAddress" "UseDNS" "UseNTP" + "UseHostname" + "UseDomains" "RouteMetric" "RapidCommit" "MUDURL" @@ -813,16 +815,20 @@ let "DUIDRawData" "IAID" "UseDelegatedPrefix" + "SendRelease" ]) (assertValueOneOf "UseAddress" boolValues) (assertValueOneOf "UseDNS" boolValues) (assertValueOneOf "UseNTP" boolValues) + (assertValueOneOf "UseHostname" boolValues) + (assertValueOneOf "UseDomains" (boolValues ++ ["route"])) (assertInt "RouteMetric") (assertValueOneOf "RapidCommit" boolValues) (assertValueOneOf "WithoutRA" ["no" "solicit" "information-request"]) (assertRange "SendOption" 1 65536) (assertInt "IAID") (assertValueOneOf "UseDelegatedPrefix" boolValues) + (assertValueOneOf "SendRelease" boolValues) ]; sectionDHCPPrefixDelegation = checkUnitConfig "DHCPPrefixDelegation" [ |