summary refs log tree commit diff
path: root/nixos/modules/system/boot/networkd.nix
diff options
context:
space:
mode:
authorQuentin Smith <quentin@mit.edu>2023-05-16 19:33:34 -0400
committerQuentin Smith <quentin@mit.edu>2023-05-16 19:33:34 -0400
commitad7b199d5dd9dbe008b926c622e4099e8eca6719 (patch)
treea07f6ece3e7902b3844f8132f9e6958859c883c2 /nixos/modules/system/boot/networkd.nix
parent771f2c8ff853d47603da5845f3b0218033ec383b (diff)
downloadnixpkgs-ad7b199d5dd9dbe008b926c622e4099e8eca6719.tar
nixpkgs-ad7b199d5dd9dbe008b926c622e4099e8eca6719.tar.gz
nixpkgs-ad7b199d5dd9dbe008b926c622e4099e8eca6719.tar.bz2
nixpkgs-ad7b199d5dd9dbe008b926c622e4099e8eca6719.tar.lz
nixpkgs-ad7b199d5dd9dbe008b926c622e4099e8eca6719.tar.xz
nixpkgs-ad7b199d5dd9dbe008b926c622e4099e8eca6719.tar.zst
nixpkgs-ad7b199d5dd9dbe008b926c622e4099e8eca6719.zip
nixos/networkd: Fix typo in BridgeVLAN options
Diffstat (limited to 'nixos/modules/system/boot/networkd.nix')
-rw-r--r--nixos/modules/system/boot/networkd.nix13
1 files changed, 1 insertions, 12 deletions
diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix
index 07f51f43184..e4ba956d3b5 100644
--- a/nixos/modules/system/boot/networkd.nix
+++ b/nixos/modules/system/boot/networkd.nix
@@ -1895,7 +1895,7 @@ let
 
   bridgeVLANOptions = {
     options = {
-      bridgeMDBConfig = mkOption {
+      bridgeVLANConfig = mkOption {
         default = {};
         example = { VLAN = 20; };
         type = types.addCheck (types.attrsOf unitOption) check.network.sectionBridgeVLAN;
@@ -2386,17 +2386,6 @@ let
       '';
     };
 
-    bridgeVLANConfig = mkOption {
-      default = {};
-      example = { VLAN = "10-20"; };
-      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
-        {manpage}`systemd.network(5)` for details.
-      '';
-    };
-
     bridgeVLANs = mkOption {
       default = [];
       example = [ { bridgeVLANConfig = { VLAN = "10-20"; }; } ];