MyNixOS website logo
option

networking.openconnect.interfaces.<name>.extraOptions

Extra config to be appended to the interface config. It should contain long-format options as would be accepted on the command line by openconnect (see https://www.infradead.org/openconnect/manual.html). Non-key-value options like deflate can be used by declaring them as booleans, i. e. deflate = true;.

Declarations
Type
attribute set of (string or boolean)
Default
{ }
Example
{
  compression = "stateless";
  no-dtls = true;
  no-http-keepalive = true;
}