summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2019-11-23 12:51:38 +0100
committerMaximilian Bosch <maximilian@mbosch.me>2019-11-23 12:51:38 +0100
commitb451612bd9eab707dfadb5fc4fb1218216b25d21 (patch)
tree1d516dd6a91ccb9b20b9e6736d3b0aeb8b0e5c86 /nixos/modules/system
parentbe1ce70e6f6e305200e3eabafa4ecbad28456175 (diff)
nixos/networkd: add missing `dhcpv6` and `static` options to `IPv6PrefixDelegation`
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/networkd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix
index c091d86303498..f80d5afc55fcc 100644
--- a/nixos/modules/system/boot/networkd.nix
+++ b/nixos/modules/system/boot/networkd.nix
@@ -201,7 +201,7 @@ let
     (assertValueOneOf "IPv6AcceptRA" boolValues)
     (assertValueOneOf "IPv4ProxyARP" boolValues)
     (assertValueOneOf "IPv6ProxyNDP" boolValues)
-    (assertValueOneOf "IPv6PrefixDelegation" boolValues)
+    (assertValueOneOf "IPv6PrefixDelegation" (boolValues ++ [ "dhcpv6" "static" ]))
     (assertValueOneOf "ActiveSlave" boolValues)
     (assertValueOneOf "PrimarySlave" boolValues)
     (assertValueOneOf "ConfigureWithoutCarrier" boolValues)