fix: accept zapret config names with any amount of spaces, fixes #6

This commit is contained in:
FUFSoB committed 2026-06-27 10:34:51 +05:00
1 parent 7ca7f4000b
commit b493a11e5a
4 files changed
+66 -5

No files matched your search

+5 -1
View File
@@ -70,7 +70,11 @@ in
configName = mkOption {
type = types.str;
default = "general(ALT)";
description = "zapret strategy preset name passed through to the generated zapret configuration.";
description = ''
zapret strategy preset name selected from the upstream configs
directory. Exact filenames are accepted, and names that differ only by
whitespace are treated as aliases.
'';
example = "general(ALT)";
};