diff options
author | Ryan Lahfa <masterancpp@gmail.com> | 2023-09-27 18:38:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-27 18:38:16 +0200 |
commit | cb403e56a6913c078367bd2df6bbb73abd79e22d (patch) | |
tree | fe5a303cd79326bc111a68531154e21da93e00d1 /nixos | |
parent | 8a86b98f0ba1c405358f1b71ff8b5e1d317f5db2 (diff) | |
parent | 521944571a8c573c184c5f46fd438b047f009e47 (diff) | |
download | nixlib-cb403e56a6913c078367bd2df6bbb73abd79e22d.tar nixlib-cb403e56a6913c078367bd2df6bbb73abd79e22d.tar.gz nixlib-cb403e56a6913c078367bd2df6bbb73abd79e22d.tar.bz2 nixlib-cb403e56a6913c078367bd2df6bbb73abd79e22d.tar.lz nixlib-cb403e56a6913c078367bd2df6bbb73abd79e22d.tar.xz nixlib-cb403e56a6913c078367bd2df6bbb73abd79e22d.tar.zst nixlib-cb403e56a6913c078367bd2df6bbb73abd79e22d.zip |
Merge pull request #249386 from JTarasovic/jdt/systemd-networkd/dhcpv6config
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 238c6670ea0f..fb5d3f9bf3a4 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" [ |