fix: zapret2 improvements
This commit is contained in:
24 files changed
+1350
-99
No files matched your search
@@ -23,6 +23,7 @@ let
|
||||
userControlExtraGroupsFor
|
||||
zapretGlobalEnabled
|
||||
zapret2DirectSync
|
||||
zapret2ProxyFallback
|
||||
;
|
||||
inherit
|
||||
(import ./zapret/common.nix {
|
||||
@@ -136,10 +137,12 @@ let
|
||||
|
||||
in
|
||||
{
|
||||
services.proxy-suite.internal.services.proxy-suite-zapret2-direct =
|
||||
lib.mkIf zapret2DirectSync directSync.service;
|
||||
services.proxy-suite.internal.paths.proxy-suite-zapret2-direct =
|
||||
lib.mkIf zapret2DirectSync directSync.path;
|
||||
services.proxy-suite.internal.services.proxy-suite-zapret2-direct = lib.mkIf (
|
||||
zapret2DirectSync || zapret2ProxyFallback
|
||||
) directSync.service;
|
||||
services.proxy-suite.internal.paths.proxy-suite-zapret2-direct = lib.mkIf (
|
||||
zapret2DirectSync || zapret2ProxyFallback
|
||||
) directSync.path;
|
||||
|
||||
services.proxy-suite.internal.earlyPackages = [ runtime.package ];
|
||||
|
||||
|
||||
Reference in new issue
Block a user