fix: behavior and docs fixes

This commit is contained in:
FUFSoB committed 2026-09-26 18:35:32 +05:00
1 parent e4458dcae8
commit 2255e1f9f0
42 files changed
+320 -161

No files matched your search

+6 -2
View File
@@ -16,7 +16,11 @@ let
zapretCfg = cfg.zapret;
perAppZapretCfg = cfg.perAppRouting.zapret;
cutoffCfg = zapretCfg.zapret2.cutoff;
inherit (import ./derived.nix { inherit lib cfg; }) constants userControlAllows;
inherit (import ./derived.nix { inherit lib cfg; })
constants
userControlAllows
zapretGlobalEnabled
;
inherit
(import ./zapret/common.nix {
inherit
@@ -117,7 +121,7 @@ in
lib.mkIf cutoffCfg.enable cutoff.timer;
services.proxy-suite.internal.services.proxy-suite-zapret =
lib.mkIf zapretCfg.enable
lib.mkIf zapretGlobalEnabled
(mkRestartingService {
description = "zapret2 DPI bypass";
after = [ "network-online.target" ];