feat/wip: better awg to outbounds config
This commit is contained in:
26 files changed
+805
-218
No files matched your search
@@ -17,8 +17,9 @@ let
|
||||
perAppZapretCfg = cfg.perAppRouting.zapret;
|
||||
cutoffCfg = zapretCfg.zapret2.cutoff;
|
||||
inherit (import ./derived.nix { inherit lib cfg; }) constants;
|
||||
# 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)
|
||||
);
|
||||
|
||||
runtime = import ./zapret2/runtime.nix {
|
||||
|
||||
Reference in new issue
Block a user