From a70c7aba366aea14866c4114af7d29fd8eaa8b1e Mon Sep 17 00:00:00 2001 From: Rene Hollander Date: Mon, 1 May 2023 19:35:43 +0200 Subject: [PATCH] nixos/networkd: Fix typo in usage sectionBridgeVLAN The `B` in bridge should be capitalized. It currently leads to an evuluation error: ``` error: attribute 'sectionbridgeVLAN' missing at /nix/store/7wmrwj0sgwg1iivxk43lpkqjhji57mq7-source/nixos/modules/system/boot/networkd.nix:2386:56: 2385| example = { VLAN = "10-20"; }; 2386| type = types.addCheck (types.attrsOf unitOption) check.network.sectionbridgeVLAN; | ^ 2387| description = lib.mdDoc '' Did you mean sectionBridgeVLAN? ``` --- nixos/modules/system/boot/networkd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix index e6b96433e841..2341b2ab83d3 100644 --- a/nixos/modules/system/boot/networkd.nix +++ b/nixos/modules/system/boot/networkd.nix @@ -2383,7 +2383,7 @@ let bridgeVLANConfig = mkOption { default = {}; example = { VLAN = "10-20"; }; - type = types.addCheck (types.attrsOf unitOption) check.network.sectionbridgeVLAN; + type = types.addCheck (types.attrsOf unitOption) check.network.sectionBridgeVLAN; description = lib.mdDoc '' Each attribute in this set specifies an option in the `[BridgeVLAN]` section of the unit. See