feat: whitelists bypass methods

This commit is contained in:
fufsob committed 2026-09-25 02:24:05 +00:00
1 parent 11c44deb61
commit f3e9140f62
22 files changed
+716 -3

No files matched your search

+12
View File
@@ -47,6 +47,7 @@ in
xray = import ../../pkgs/xray.nix { pkgs = upstream; };
# AWG 3.1 userspace; its kernel module has to match the system's kernel instead.
amneziaWg = import ../../pkgs/amneziawg.nix { pkgs = upstream; };
whitelist-bypass = import ../../pkgs/whitelist-bypass.nix { pkgs = upstream; };
inherit (upstream) sing-box;
};
}
@@ -138,6 +139,17 @@ in
}
))
(lib.mkIf cfg.whitelistBypass.enable (
import ./whitelist-bypass.nix {
inherit
lib
pkgs
cfg
derived
;
}
))
(lib.mkIf derived.ruleSetsEnabled (
import ./rulesets.nix {
inherit