networking.wireguard.enable

NixOS option

Whether to enable WireGuard. By default, this module is powered by a script-based backend. You can enable the networkd backend with networking.wireguard.useNetworkd.

type: boolean
Default
config.networking.wireguard.interfaces != { }
Example
true
declared in: nixos/modules/services/networking/wireguard.nixView source on NixOS/nixpkgs →