services.libreswan.policies

A set of policies to apply to the IPsec connections.

The policy name must match the one of connection it needs to apply to.

Type
attribute set of strings concatenated with "\n"
Default
{ }
Example
{ private-or-clear = ''
    # Attempt opportunistic IPsec for the entire Internet
    0.0.0.0/0
    ::/0
  '';
}
Declared
<nixpkgs/nixos/modules/services/networking/libreswan.nix>