feat/wip: better awg to outbounds config
This commit is contained in:
26 files changed
+805
-218
No files matched your search
@@ -14,8 +14,9 @@ let
|
||||
|
||||
zapretCfg = cfg.zapret;
|
||||
perAppZapretCfg = cfg.perAppRouting.zapret;
|
||||
# Global AmneziaWG profiles only: an outbound one leaves the host's routes alone.
|
||||
awgServiceNames = map (name: "proxy-suite-awg-${name}.service") (
|
||||
builtins.attrNames cfg.amneziaWg.profiles
|
||||
builtins.attrNames (lib.filterAttrs (_: profile: profile.asOutbound == null) cfg.amneziaWg.profiles)
|
||||
);
|
||||
zapretPackages = import ./zapret/packages.nix {
|
||||
inherit
|
||||
|
||||
Reference in new issue
Block a user