From 59676a40fc726df89b8d1a61341999f25d20d6f2 Mon Sep 17 00:00:00 2001 From: kurogeek Date: Mon, 3 Aug 2026 10:47:43 +0700 Subject: [PATCH] mob next [ci-skip] [ci skip] [skip ci] lastFile:modules/clan/gw-router/default.nix --- modules/clan/gw-router/default.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/modules/clan/gw-router/default.nix b/modules/clan/gw-router/default.nix index 462093c..c652e63 100644 --- a/modules/clan/gw-router/default.nix +++ b/modules/clan/gw-router/default.nix @@ -13,7 +13,22 @@ { lib, config, ... }: { options = { + wan = { + interface = lib.mkOption { + type = lib.types.str; + description = "Physical WAN port the PPPoE session runs on."; + }; + vlanId = lib.mkOption { + type = lib.types.nullOr (lib.types.ints.between 1 4094); + default = null; + description = '' + 802.1Q tag the ISP requires for the PPPoE session (AIS Thailand: 10); + null for untagged PPPoE directly on the port. Unrelated to the LAN + VLANs — this tag exists only on the WAN port. + ''; + }; + }; }; };