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

+4 -3
View File
@@ -2,21 +2,22 @@
let
inherit (lib) mkEnableOption mkOption types;
inherit (import ./lib.nix { inherit lib; }) interfaceType ipv4CidrType;
in
{
options.services.proxy-suite.proxy.tun = {
enable = mkEnableOption "global TUN mode";
interface = mkOption {
type = types.str;
type = interfaceType;
default = "singtun0";
description = "TUN interface name.";
};
address = mkOption {
type = types.str;
type = ipv4CidrType;
default = "172.19.0.1/30";
description = "TUN interface address (CIDR).";
description = "TUN interface IPv4 address (CIDR).";
};
mtu = mkOption {