feat(awg): obfuscation file

This commit is contained in:
FUFSoB committed 2026-09-06 09:57:16 +05:00
1 parent 1ac17f281d
commit 8cdef28f21
8 files changed
+332 -9

No files matched your search

+44 -3
View File
@@ -14,7 +14,7 @@ Update module option docs there instead of editing this file by hand.
- [enable](#services-proxy-suite-amneziawg-enable)
- [kernelModulePackage](#services-proxy-suite-amneziawg-kernelmodulepackage)
- [profiles](#services-proxy-suite-amneziawg-profiles)
- <name>
- `<name>`
- [allowConfigHooks](#services-proxy-suite-amneziawg-profiles-name-allowconfighooks)
- [autostart](#services-proxy-suite-amneziawg-profiles-name-autostart)
- [configFile](#services-proxy-suite-amneziawg-profiles-name-configfile)
@@ -51,6 +51,7 @@ Update module option docs there instead of editing this file by hand.
- [s2](#services-proxy-suite-amneziawg-profiles-name-settings-obfuscation-s2)
- [s3](#services-proxy-suite-amneziawg-profiles-name-settings-obfuscation-s3)
- [s4](#services-proxy-suite-amneziawg-profiles-name-settings-obfuscation-s4)
- [obfuscationFile](#services-proxy-suite-amneziawg-profiles-name-settings-obfuscationfile)
- [peers](#services-proxy-suite-amneziawg-profiles-name-settings-peers)
- item
- [advancedSecurity](#services-proxy-suite-amneziawg-profiles-name-settings-peers-advancedsecurity)
@@ -1765,6 +1766,46 @@ null
<a id="services-proxy-suite-amneziawg-profiles-name-settings-obfuscationfile"></a>
## services\.proxy-suite\.amneziaWg\.profiles\.\<name>\.settings\.obfuscationFile
Runtime path to a partial JSON object using the same field names and
value types as obfuscation, excluding headerProtectionKeyFile\.
Values are combined with public obfuscation settings at service startup
without putting the file contents in the Nix store\. Omitted or null
fields are unset; duplicate JSON keys and fields set in both sources
are rejected\. A file-provided headerProtectionKey also conflicts with
obfuscation\.headerProtectionKeyFile\. Private and preshared keys use
their existing file options\. Restart the profile after secret rotation\.
*Type:*
null or string
*Default:*
```nix
null
```
*Example:*
```nix
"/run/secrets/awg-obfuscation.json"
```
*Declared by:*
- [modules/proxy-suite/options/amnezia-wg\.nix](https://github.com/FUFSoB/proxy-suite-flake/blob/main/modules/proxy-suite/options/amnezia-wg.nix)
<a id="services-proxy-suite-amneziawg-profiles-name-settings-peers"></a>
## services\.proxy-suite\.amneziaWg\.profiles\.\<name>\.settings\.peers
@@ -3773,8 +3814,6 @@ list of string
<a id="services-proxy-suite-proxy-routing-proxy-domains"></a>
## services\.proxy-suite\.proxy\.routing\.proxy\.domains
Domain suffixes to match in this routing rule\.
Leave empty to skip domain-based matching for this rule entry\.
@@ -3810,6 +3849,8 @@ list of string
<a id="services-proxy-suite-proxy-routing-proxy-geoips"></a>
## services\.proxy-suite\.proxy\.routing\.proxy\.geoips
sing-geoip rule-set names to match in this routing rule\.
Each name becomes a backend geoip rule-set reference\.