summaryrefslogtreecommitdiff
path: root/hosts/kay/modules
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2023-11-29 16:37:21 +0530
committersinanmohd <sinan@sinanmohd.com>2023-11-29 16:38:45 +0530
commit3ee40d479a6eae1826e4312299d03331e6d6e830 (patch)
treed923173316e9e2fe97d9722236b2960bd7e60eec /hosts/kay/modules
parentcbe317a6d993c65899186d4a397525e066bed19a (diff)
hosts/kay: fix mtu
see https://old.reddit.com/r/bsnl/comments/ht37q4/guide_for_bsnl_ftth/
Diffstat (limited to 'hosts/kay/modules')
-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 = [