refactor: remove duplication
This commit is contained in:
109 files changed
+2206
-3078
No files matched your search
@@ -1,18 +1,20 @@
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
builders,
|
||||
ip,
|
||||
nft,
|
||||
nftablesRulesFile,
|
||||
constants,
|
||||
globalTun,
|
||||
globalTproxy,
|
||||
perAppRoutingTun,
|
||||
ipv6,
|
||||
}:
|
||||
{ ctx }:
|
||||
|
||||
let
|
||||
inherit (ctx)
|
||||
lib
|
||||
pkgs
|
||||
builders
|
||||
ip
|
||||
nft
|
||||
nftablesRulesFile
|
||||
constants
|
||||
globalTun
|
||||
globalTproxy
|
||||
perAppRoutingTun
|
||||
proxyCfg
|
||||
;
|
||||
inherit (proxyCfg) ipv6;
|
||||
inherit (constants)
|
||||
tunAutoRouteTableIndex
|
||||
tunAutoRouteRulePriority
|
||||
|
||||
Reference in new issue
Block a user