feat: warp
This commit is contained in:
18 files changed
+864
-177
No files matched your search
@@ -87,30 +87,38 @@ in
|
||||
;
|
||||
})
|
||||
|
||||
(lib.mkIf (cfg.zapret.engine == "zapret-discord-youtube" && (cfg.zapret.enable || cfg.perAppRouting.zapret.enable)) (
|
||||
import ./zapret.nix {
|
||||
inherit
|
||||
lib
|
||||
pkgs
|
||||
cfg
|
||||
zapret
|
||||
;
|
||||
inherit (nftr) perAppZapretRulesFile nft;
|
||||
}
|
||||
))
|
||||
(lib.mkIf
|
||||
(
|
||||
cfg.zapret.engine == "zapret-discord-youtube"
|
||||
&& (cfg.zapret.enable || cfg.perAppRouting.zapret.enable)
|
||||
)
|
||||
(
|
||||
import ./zapret.nix {
|
||||
inherit
|
||||
lib
|
||||
pkgs
|
||||
cfg
|
||||
zapret
|
||||
;
|
||||
inherit (nftr) perAppZapretRulesFile nft;
|
||||
}
|
||||
)
|
||||
)
|
||||
|
||||
(lib.mkIf (cfg.zapret.engine == "zapret2" && (cfg.zapret.enable || cfg.perAppRouting.zapret.enable)) (
|
||||
import ./zapret2.nix {
|
||||
inherit
|
||||
lib
|
||||
pkgs
|
||||
cfg
|
||||
packages
|
||||
;
|
||||
inherit (nftr) perAppZapretRulesFile nft;
|
||||
zapret2Sources = { inherit nfqws2-keenetic z2k; };
|
||||
}
|
||||
))
|
||||
(lib.mkIf (cfg.zapret.engine == "zapret2" && (cfg.zapret.enable || cfg.perAppRouting.zapret.enable))
|
||||
(
|
||||
import ./zapret2.nix {
|
||||
inherit
|
||||
lib
|
||||
pkgs
|
||||
cfg
|
||||
packages
|
||||
;
|
||||
inherit (nftr) perAppZapretRulesFile nft;
|
||||
zapret2Sources = { inherit nfqws2-keenetic z2k; };
|
||||
}
|
||||
)
|
||||
)
|
||||
|
||||
(lib.mkIf cfg.tgWsProxy.enable (
|
||||
import ./tg-ws-proxy.nix {
|
||||
@@ -135,6 +143,17 @@ in
|
||||
}
|
||||
))
|
||||
|
||||
(lib.mkIf cfg.warp.enable (
|
||||
import ./warp.nix {
|
||||
inherit
|
||||
lib
|
||||
pkgs
|
||||
cfg
|
||||
derived
|
||||
;
|
||||
}
|
||||
))
|
||||
|
||||
(lib.mkIf cfg.amneziaWg.enable (
|
||||
import ./amnezia-wg.nix {
|
||||
inherit
|
||||
|
||||
Reference in new issue
Block a user