1
0

modules/wireguard-initrd: default to mtu of 1280

This commit is contained in:
clerie 2024-02-07 18:41:09 +01:00
parent e0049c72ea
commit fe7ccf245b

View File

@ -41,6 +41,7 @@ in
boot.initrd.network.postCommands = ''
ip link add dev "wg-initrd" type wireguard
ip link set "wg-initrd" mtu 1280
${concatMapStringsSep "\n" (ip: ''
ip address add "${ip}" dev "wg-initrd"