diff --git a/devices/gl-mt300a/default.nix b/devices/gl-mt300a/default.nix index ac57d6e..5b879e1 100644 --- a/devices/gl-mt300a/default.nix +++ b/devices/gl-mt300a/default.nix @@ -131,10 +131,6 @@ SWCONFIG = "y"; SWPHY = "y"; - BRIDGE = "y"; - BRIDGE_VLAN_FILTERING = "y"; - BRIDGE_IGMP_SNOOPING = "y"; - MTD = "y"; MTD_CMDLINE_PARTS = "y"; MTD_BLOCK = "y"; # fix undefined ref to register_mtd_blktrans_devs diff --git a/devices/gl-mt300n-v2/default.nix b/devices/gl-mt300n-v2/default.nix index 0f0f47c..3e1986a 100644 --- a/devices/gl-mt300n-v2/default.nix +++ b/devices/gl-mt300n-v2/default.nix @@ -157,10 +157,6 @@ SWCONFIG = "y"; SWPHY = "y"; - BRIDGE = "y"; - BRIDGE_VLAN_FILTERING = "y"; - BRIDGE_IGMP_SNOOPING = "y"; - WATCHDOG = "y"; RALINK_WDT = "y"; # watchdog MT7621_WDT = "y"; # or it might be this one diff --git a/modules/bridge/default.nix b/modules/bridge/default.nix index 1145ec7..dc1d071 100644 --- a/modules/bridge/default.nix +++ b/modules/bridge/default.nix @@ -39,5 +39,9 @@ in }; }; }; - config.kernel.config.BRIDGE = "y"; + config.kernel.config = { + BRIDGE = "y"; + BRIDGE_VLAN_FILTERING = "y"; + BRIDGE_IGMP_SNOOPING = "y"; + }; }