wireguard-tools
wireguard-tools 1.0.20260223
Tools for the WireGuard secure network tunnel
<rendered-html><p>Supplies the main userspace tooling for using and configuring WireGuard tunnels, including the wg(8) and wg-quick(8) utilities.</p> <ul> <li>wg : the configuration utility for getting and setting the configuration of WireGuard tunnel interfaces. The interfaces themselves can be added and removed using ip-link(8) and their IP addresses and routing tables can be set using ip-address(8) and ip-route(8). The wg utility provides a series of sub-commands for changing WireGuard-specific aspects of WireGuard interfaces.</li> <li>wg-quick : an extremely simple script for easily bringing up a WireGuard interface, suitable for a few common use cases.</li> </ul> </rendered-html>
https://www.wireguard.com/Install
Copy into your configuration
environment.systemPackages = with pkgs; [ wireguard-tools ];
nix-shell -p wireguard-tools
nix run nixpkgs#wireguard-tools