docs(nixos): clarify VLAN option descriptions
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
util,
|
||||
...
|
||||
}:
|
||||
# Configures bridges for tagged VLANs on a DHCP-managed physical interface.
|
||||
# Configures bridges for tagged VLANs on a physical interface that uses DHCP.
|
||||
let
|
||||
cfg = config.modules.network.vlans; # NOLINT(let_order)
|
||||
vlanName = id: "vlan${toString id}";
|
||||
@@ -15,7 +15,7 @@ in
|
||||
type = lib.types.str;
|
||||
example = "enp1s0";
|
||||
description = ''
|
||||
Physical interface that carries untagged DHCP traffic and tagged VLANs.
|
||||
Names the physical interface that carries untagged DHCP traffic and tagged VLANs.
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -28,7 +28,8 @@ in
|
||||
30
|
||||
];
|
||||
description = ''
|
||||
Materializes bridges for these tagged VLAN IDs.
|
||||
Creates bridges for the specified tagged VLAN IDs.
|
||||
|
||||
VLAN ID N creates bridge `br-vlanN`.
|
||||
'';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user