feat: allow using suite on non-nixos systems
This commit is contained in:
63 files changed
+3572
-523
No files matched your search
@@ -7,6 +7,7 @@
|
||||
perAppRoutingTun,
|
||||
perAppRoutingTproxy,
|
||||
perAppZapretCfg,
|
||||
runtimeDir,
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -55,7 +56,7 @@ let
|
||||
|
||||
proxychainsConfigFile =
|
||||
if localProxyAuthEnabled then
|
||||
"/run/proxy-suite-socks/proxychains.conf"
|
||||
"${runtimeDir}/proxy-suite-socks/proxychains.conf"
|
||||
else
|
||||
pkgs.writeText "proxy-suite-per-app" ''
|
||||
strict_chain
|
||||
|
||||
Reference in new issue
Block a user