diff options
author | Florian Klink <flokli@flokli.de> | 2023-07-19 23:18:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-19 23:18:54 +0300 |
commit | 8f15fe7914501fa41904396582cfb9c22962d0ab (patch) | |
tree | 71bb670f5348d6eec51fbb8a75505d8b67266ff4 /nixos/modules/system/boot | |
parent | 6f66c57acc5ef4ca269fa1eb92b8599188b60b8e (diff) | |
parent | faba775beb2f009e6d9fe5bf0861310b569d7ba1 (diff) |
Merge pull request #241370 from RaitoBezarius/vxlan-independent
nixos/networkd: support `Independent` flag for VXLAN netdevs
Diffstat (limited to 'nixos/modules/system/boot')
-rw-r--r-- | nixos/modules/system/boot/networkd.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix index a7ca69af74c4f..6d0afcc57fcc6 100644 --- a/nixos/modules/system/boot/networkd.nix +++ b/nixos/modules/system/boot/networkd.nix @@ -223,6 +223,7 @@ let "PortRange" "FlowLabel" "IPDoNotFragment" + "Independent" ]) (assertInt "VNI") (assertRange "VNI" 1 16777215) @@ -242,6 +243,7 @@ let (assertInt "FlowLabel") (assertRange "FlowLabel" 0 1048575) (assertValueOneOf "IPDoNotFragment" (boolValues + ["inherit"])) + (assertValueOneOf "Independent" boolValues) ]; sectionTunnel = checkUnitConfig "Tunnel" [ |