refactor: remove duplication

This commit is contained in:
FUFSoB committed 2026-09-18 21:39:18 +05:00
1 parent f7036f6075
commit 8a4ba2db6a
109 files changed
+2206 -3078

No files matched your search

+15 -13
View File
@@ -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