summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/kay/modules/network.nix1
-rw-r--r--hosts/kay/modules/wireguard.nix2
2 files changed, 1 insertions, 2 deletions
diff --git a/hosts/kay/modules/network.nix b/hosts/kay/modules/network.nix
index 95832d8..41b929b 100644
--- a/hosts/kay/modules/network.nix
+++ b/hosts/kay/modules/network.nix
@@ -35,7 +35,6 @@ in
nic-wan
defaultroute
persist
- mtu 1380
noauth
noipv6
'';
diff --git a/hosts/kay/modules/wireguard.nix b/hosts/kay/modules/wireguard.nix
index af489ca..90eb274 100644
--- a/hosts/kay/modules/wireguard.nix
+++ b/hosts/kay/modules/wireguard.nix
@@ -26,7 +26,7 @@ in
wireguard.interfaces.${wgInterface} = {
ips = [ "10.0.1.1/${toString prefix}" ];
listenPort = port;
- mtu = 1300; # 1380 (ppp0) - 80
+ mtu = 1380; # 1460 (ppp0) - 80
privateKeyFile = config.sops.secrets."misc/wireguard".path;
peers = [