{ config, pkgs, lib, ... }: { #boot.kernelParams = [ "nfs.nfs4_disable_idmapping=0" "nfsd.nfs4_disable_idmapping=0" ]; # TODO: wg-common.nix #wireguard fyrkat client # https://nixos.wiki/wiki/WireGuard networking.firewall.allowedUDPPorts = [ config.networking.wireguard.interfaces."wg0".listenPort ]; networking.wireguard.interfaces."wg0" = { #ips = [ "172.22.48.3/24" ]; # set per host! listenPort = 51820; # (random is default) generatePrivateKeyFile = true; privateKeyFile = "/var/lib/wg/wireguard_key"; peers = [ { # get your pubkey to give to fyrkat with `wg pubkey