Update modules/nixos/system/network/wireguard/default.nix

Corrected MTU
This commit is contained in:
sora 2023-12-11 17:56:03 +01:00
parent a0e210880c
commit 8fafe65aec

View File

@ -6,6 +6,7 @@
ips = [ config.hostcfg.net.wg.ip4 config.hostcfg.net.wg.ip6 ];
privateKeyFile = config.hostcfg.net.wg.pk;
listenPort = 1515;
mtu = 1340;
peers = [{
allowedIPs = [ "10.10.1.0/24" "fd10:10:10::0/64" ];
endpoint = "vpn.helcel.net:1515";