From a97f3f82e5c1b7f0cd1e2187fabc33e90b4c297c Mon Sep 17 00:00:00 2001 From: kurogeek Date: Thu, 6 Aug 2026 11:56:42 +0700 Subject: [PATCH] mob next [ci-skip] [ci skip] [skip ci] lastFile:modules/clan/gw-router/default.nix --- modules/clan/gw-router/default.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/modules/clan/gw-router/default.nix b/modules/clan/gw-router/default.nix index 5231b6c..07c88b6 100644 --- a/modules/clan/gw-router/default.nix +++ b/modules/clan/gw-router/default.nix @@ -133,14 +133,16 @@ }; accessPorts = lib.mkOption { - type = lib.types.attrsOf lib.types.submodule { - options = { - vlanId = lib.mkOption { - type = lib.types.int; - description = "Untagged traffic in from the device gets tagged VLANs inside the bridge, and VLANs traffic going back out to the device gets untagged, so the device itself never has to know VLANs exist."; + type = lib.types.attrsOf ( + lib.types.submodule { + options = { + vlanId = lib.mkOption { + type = lib.types.int; + description = "Untagged traffic in from the device gets tagged VLANs inside the bridge, and VLANs traffic going back out to the device gets untagged, so the device itself never has to know VLANs exist."; + }; }; - }; - }; + } + ); description = '' Ports acting as untagged access ports on a single VLAN (port name -> VLAN id). Frames are untagged on the wire; the bridge tags them with