fix: multiple fixes + cleanup and formatting

This commit is contained in:
FUFSoB committed 2026-09-17 22:51:31 +05:00
1 parent 321e9ca468
commit c62000821a
59 files changed
+1357 -920

No files matched your search

@@ -77,7 +77,10 @@ in
and AmneziaWG tags work too. A pin still reaches them, and so does a selector switched by
hand.
'';
example = [ "ru-vps" "warp" ];
example = [
"ru-vps"
"warp"
];
};
urlTest = {
@@ -37,9 +37,11 @@ in
};
direct = {
domains = list "Domain suffixes sent direct. zapret hostlists join them when zapret.directSync.enable is on." [
"internal.example"
];
domains =
list "Domain suffixes sent direct. zapret hostlists join them when zapret.directSync.enable is on."
[
"internal.example"
];
ips = list "IP CIDRs sent direct." [ "10.10.0.0/16" ];
geosites = list "Geosite names sent direct." [ "category-ru" ];
geoips = list "Geoip names sent direct." [ "ru" ];
+7 -1
View File
@@ -1,7 +1,13 @@
{ lib, ... }:
let
p = path: [ "services" "proxy-suite" ] ++ lib.splitString "." path;
p =
path:
[
"services"
"proxy-suite"
]
++ lib.splitString "." path;
rm = path: replacement: lib.mkRemovedOptionModule (p path) replacement;
# Top-level zapret options that moved under the engine namespace; the value is
# the leaf name they carry there.