modules/wireguard-initrd: default to mtu of 1280
This commit is contained in:
parent
e0049c72ea
commit
fe7ccf245b
@ -41,6 +41,7 @@ in
|
|||||||
|
|
||||||
boot.initrd.network.postCommands = ''
|
boot.initrd.network.postCommands = ''
|
||||||
ip link add dev "wg-initrd" type wireguard
|
ip link add dev "wg-initrd" type wireguard
|
||||||
|
ip link set "wg-initrd" mtu 1280
|
||||||
|
|
||||||
${concatMapStringsSep "\n" (ip: ''
|
${concatMapStringsSep "\n" (ip: ''
|
||||||
ip address add "${ip}" dev "wg-initrd"
|
ip address add "${ip}" dev "wg-initrd"
|
||||||
|
Loading…
Reference in New Issue
Block a user