fix: hardening

This commit is contained in:
FUFSoB committed 2026-10-05 22:44:09 +05:00
1 parent 017a947a18
commit a435942b4f
168 files changed
+9166 -1644

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
{ lib, ... }:
let
inherit (lib) mkOption types;
in
{
# Heavy helpers proxy-ctl can do without; nix-on-droid leaves them out by default.
options.services.proxy-suite.tools = {
lnav.enable = mkOption {
type = types.bool;
default = true;
defaultText = lib.literalMD "`true`, `false` on nix-on-droid";
description = ''
Follow `proxy-ctl logs` in lnav. Without it they follow in less.
'';
};
curlImpersonate.enable = mkOption {
type = types.bool;
default = true;
defaultText = lib.literalMD "`true`, `false` on nix-on-droid";
description = ''
Probe with curl-impersonate (`proxy-ctl proxy auto probe`, and autoProxy), which
presents a browser's TLS fingerprint. Without it probes use plain curl, which some
bot protection refuses, so a working exit can be judged blocked.
'';
};
};
}