diff --git a/hosts/rico2/wireguard.nix b/hosts/rico2/wireguard.nix index 956660a..f1de5ee 100644 --- a/hosts/rico2/wireguard.nix +++ b/hosts/rico2/wireguard.nix @@ -9,7 +9,7 @@ in { enable = true; interfaces = { wg0 = { - inherit (peers."${config.networking.hostName}") ips listenPort; + inherit (peers."${config.networking.hostName}") ips listenPort mtu; privateKeyFile = "/etc/wireguard/private.key"; generatePrivateKeyFile = true; peers = with peers; [ diff --git a/hosts/skipper/wireguard.nix b/hosts/skipper/wireguard.nix index 956660a..f1de5ee 100644 --- a/hosts/skipper/wireguard.nix +++ b/hosts/skipper/wireguard.nix @@ -9,7 +9,7 @@ in { enable = true; interfaces = { wg0 = { - inherit (peers."${config.networking.hostName}") ips listenPort; + inherit (peers."${config.networking.hostName}") ips listenPort mtu; privateKeyFile = "/etc/wireguard/private.key"; generatePrivateKeyFile = true; peers = with peers; [