MyNixOS website logo
option

services.zapret2.extraOptions

Extra command line parameters to pass to Zapret2.

Profiles and desync strategies should not be set here, instead the services.zapret2.profiles option should be used instead, which allows profiles to be defined and merged correctly across multiple NixOS modules.

The --lua-init parameters should not be included here, the files to load should instead be set via the services.zapret2.files option.

Likewise, the --qnum and --fwmark parameters should also not be included, instead the queue number and firewall desync mark can be set using the services.zapret2.firewall.queue and services.zapret2.firewall.desyncFwmark options respectively.

Declarations
Type
list of string
Default
[ ]
Example
[
  "--debug"
]