diff options
author | datafoo <34766150+datafoo@users.noreply.github.com> | 2022-01-20 12:16:46 +0100 |
---|---|---|
committer | datafoo <34766150+datafoo@users.noreply.github.com> | 2022-01-20 13:43:12 +0100 |
commit | 9bfb803dce4bba176fcdf84f43a9ce2b5725df8b (patch) | |
tree | fd9ebcf459b43fc5e38dd197e86c27a9d44e0c07 /nixos/modules | |
parent | dd2dcbbfe893b6511a6b9fbfa610dd29531bfbc4 (diff) |
nixos/networking: fix assertion on IPMasquerade
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/system/boot/networkd.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix index 1145831ee2eaa..ac1e4ef34b46f 100644 --- a/nixos/modules/system/boot/networkd.nix +++ b/nixos/modules/system/boot/networkd.nix @@ -513,7 +513,7 @@ let (assertValueOneOf "EmitLLDP" (boolValues ++ ["nearest-bridge" "non-tpmr-bridge" "customer-bridge"])) (assertValueOneOf "DNSDefaultRoute" boolValues) (assertValueOneOf "IPForward" (boolValues ++ ["ipv4" "ipv6"])) - (assertValueOneOf "IPMasquerade" boolValues) + (assertValueOneOf "IPMasquerade" (boolValues ++ ["ipv4" "ipv6" "both"])) (assertValueOneOf "IPv6PrivacyExtensions" (boolValues ++ ["prefer-public" "kernel"])) (assertValueOneOf "IPv6AcceptRA" boolValues) (assertInt "IPv6DuplicateAddressDetection") |