packages improvement

This commit is contained in:
FUFSoB committed 2026-04-18 13:36:35 +05:00
1 parent af2121412b
commit 189cf4412d
11 files changed
+227 -98

No files matched your search

+2 -9
View File
@@ -1,7 +1,6 @@
# Builds proxy-ctl from global proxy-suite state and per-app routing metadata.
{
lib,
pkgs,
packages,
singBoxCfg,
perAppRoutingCfg,
perAppRoutingTun,
@@ -13,14 +12,8 @@
proxychainsConfigFile,
proxychainsQuietArg,
}:
let
mkProxyCtl = import ../../../pkgs/proxy-ctl.nix {
inherit lib pkgs;
};
in
{
proxyCtl = mkProxyCtl {
proxyCtl = packages.mkProxyCtl {
clashApi = "http://127.0.0.1:${toString singBoxCfg.clashApiPort}";
selection = singBoxCfg.selection;
inherit