update mtu

This commit is contained in:
Adithya 2023-10-10 22:19:47 +05:30
parent 1ff0745893
commit f0c830fc73
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ in {
enable = true; enable = true;
interfaces = { interfaces = {
wg0 = { wg0 = {
inherit (peers."${config.networking.hostName}") ips listenPort; inherit (peers."${config.networking.hostName}") ips listenPort mtu;
privateKeyFile = "/etc/wireguard/private.key"; privateKeyFile = "/etc/wireguard/private.key";
generatePrivateKeyFile = true; generatePrivateKeyFile = true;
peers = with peers; [ peers = with peers; [

View file

@ -9,7 +9,7 @@ in {
enable = true; enable = true;
interfaces = { interfaces = {
wg0 = { wg0 = {
inherit (peers."${config.networking.hostName}") ips listenPort; inherit (peers."${config.networking.hostName}") ips listenPort mtu;
privateKeyFile = "/etc/wireguard/private.key"; privateKeyFile = "/etc/wireguard/private.key";
generatePrivateKeyFile = true; generatePrivateKeyFile = true;
peers = with peers; [ peers = with peers; [