diff options
-rw-r--r-- | os/cez/modules/wireguard.nix | 2 | ||||
-rw-r--r-- | os/common/modules/user.nix | 1 | ||||
-rw-r--r-- | os/kay/modules/hurricane.nix | 2 | ||||
-rw-r--r-- | os/kay/modules/wireguard.nix | 2 |
4 files changed, 4 insertions, 3 deletions
diff --git a/os/cez/modules/wireguard.nix b/os/cez/modules/wireguard.nix index 40dd796..e6fa454 100644 --- a/os/cez/modules/wireguard.nix +++ b/os/cez/modules/wireguard.nix @@ -7,7 +7,7 @@ in { autostart = false; address = [ "10.0.1.2/24" ]; dns = [ "10.0.1.1" ]; - mtu = 1380; + mtu = 1412; privateKeyFile = config.sops.secrets."misc/wireguard".path; peers = [{ diff --git a/os/common/modules/user.nix b/os/common/modules/user.nix index d6c341b..b58d980 100644 --- a/os/common/modules/user.nix +++ b/os/common/modules/user.nix @@ -11,6 +11,7 @@ in { openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAcCendbKbeoc7hYEEcBt9wwtSXrJUgJ2SuYARO0zPAX sinan@veu" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL8LnyOuPmtKRqAZeHueNN4kfYvpRQVwCivSTq+SZvDU sinan@cez" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHeyFnYE9RJ87kbkjgrev/yw1Z4PVLxvfPAtJjBMOYPq sinan@ale" ]; }; } diff --git a/os/kay/modules/hurricane.nix b/os/kay/modules/hurricane.nix index 9e22bf5..9aaf1d1 100644 --- a/os/kay/modules/hurricane.nix +++ b/os/kay/modules/hurricane.nix @@ -24,7 +24,7 @@ in ttl = 225; }; interfaces.${iface} = { - mtu = 1440; # 1460(ppp0) - 20 + mtu = 1472; # 1492(ppp0) - 20 ipv6.addresses = [ { address = clinet; diff --git a/os/kay/modules/wireguard.nix b/os/kay/modules/wireguard.nix index 578a86a..82eb96f 100644 --- a/os/kay/modules/wireguard.nix +++ b/os/kay/modules/wireguard.nix @@ -26,7 +26,7 @@ in wireguard.interfaces.${wgInterface} = { ips = [ "10.0.1.1/${toString prefix}" ]; listenPort = port; - mtu = 1380; # 1460 (ppp0) - 80 + mtu = 1412; # 1492 (ppp0) - 80 privateKeyFile = config.sops.secrets."misc/wireguard".path; peers = [ |