1 2 3 4 5 6 7 8 9
{ config, lib, pkgs, ... }: { networking.hostName = "xyz"; networking.wireguard.interfaces.internal = { ips = [ "10.0.3.x/24" ]; privateKey = "xxx"; }; }