formatting

This commit is contained in:
FUFSoB committed 2026-04-19 12:11:01 +05:00
1 parent 744a769e73
commit 4d6802e194
21 files changed
+843 -582

No files matched your search

+12 -3
View File
@@ -9,7 +9,12 @@
let
derived = import ./derived.nix { inherit lib cfg; };
inherit (derived) singBoxCfg globalTun globalTproxy clashApiEnabled;
inherit (derived)
singBoxCfg
globalTun
globalTproxy
clashApiEnabled
;
perAppTun = derived.perAppRoutingTun;
direct = rules.direct;
@@ -24,7 +29,9 @@ let
// lib.optionalAttrs (detour != null) { inherit detour; };
mkDnsConfig =
{ localDetour ? null }:
{
localDetour ? null,
}:
{
servers = [
(mkDnsServer "remote" singBoxCfg.dns.remote "proxy")
@@ -160,7 +167,9 @@ let
tproxyFile = pkgs.writeText "proxy-suite-tproxy-template.json" (builtins.toJSON tproxyTemplate);
tunFile = pkgs.writeText "proxy-suite-tun-template.json" (builtins.toJSON tunTemplate);
perAppTunFile = pkgs.writeText "proxy-suite-per-app-tun-template.json" (builtins.toJSON perAppTunTemplate);
perAppTunFile = pkgs.writeText "proxy-suite-per-app-tun-template.json" (
builtins.toJSON perAppTunTemplate
);
in
{