feat: select zapret2 strategies source

This commit is contained in:
fufsob committed 2026-09-13 19:33:26 +00:00
1 parent fdb2b08790
commit 441be87b61
14 files changed
+566 -208

No files matched your search

+3 -1
View File
@@ -4,6 +4,7 @@
pkgs,
cfg,
packages,
zapret2Sources,
perAppZapretRulesFile,
nft,
}:
@@ -25,6 +26,7 @@ let
pkgs
cfg
packages
zapret2Sources
;
};
@@ -69,7 +71,7 @@ let
# nfqws2 and proxy-ctl expect the list files to exist.
mkPreStart = ''
${lib.getExe' pkgs.kmod "modprobe"} nfnetlink_queue 2>/dev/null || true
install -d -m 0755 ${runtime.stateDir}
install -d -m 0755 ${runtime.stateDir} ${runtime.circularStateDir}
touch ${runtime.autoHostlistFile} ${runtime.userHostlistFile} ${runtime.excludeHostlistFile}
'';