summaryrefslogtreecommitdiff
path: root/hosts/kay/modules/wireguard.nix
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2023-10-28 22:58:37 +0530
committersinanmohd <sinan@sinanmohd.com>2023-10-29 11:14:08 +0530
commit220732df77e7533e77421df7c1d8195dc6d0cdae (patch)
tree0d0bf2d385876d7c7888b8e923218f0970538f3c /hosts/kay/modules/wireguard.nix
parente3dfb27a38de7231c2fd9addc8a7b2f8c3a0409e (diff)
kay/network: refactor
Diffstat (limited to 'hosts/kay/modules/wireguard.nix')
-rw-r--r--hosts/kay/modules/wireguard.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/kay/modules/wireguard.nix b/hosts/kay/modules/wireguard.nix
index efafdcb..af489ca 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 = 1380; # 1460 (ppp0) - 80
+ mtu = 1300; # 1380 (ppp0) - 80
privateKeyFile = config.sops.secrets."misc/wireguard".path;
peers = [
@@ -34,7 +34,7 @@ in
publicKey = "IcMpAs/D0u8O/AcDBPC7pFUYSeFQXQpTqHpGOeVpjS8=";
allowedIPs = [ "10.0.1.2/32" ];
}
- { # veu
+ { # vex
publicKey = "bJ9aqGYD2Jh4MtWIL7q3XxVHFuUdwGJwO8p7H3nNPj8=";
allowedIPs = [ "10.0.1.3/32" ];
}