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: booleanDefault
config.networking.wireguard.interfaces != { }Example
declared in: nixos/modules/services/networking/wireguard.nixView source on NixOS/nixpkgs →true