1
0
Fork 0

Compare commits

...

2 commits

Author SHA1 Message Date
Daniel Kempkens 197c4c5fc1
podman: install manifest-tool 2024-07-07 12:30:56 +02:00
Daniel Kempkens fce2789366
wireguard: update config 2024-07-07 12:30:56 +02:00
3 changed files with 2 additions and 0 deletions

View file

@ -9,6 +9,7 @@
vfkit
dive
skopeo
manifest-tool
];
xdg.configFile."containers/containers.conf.d/nix.conf".text = ''

View file

@ -69,6 +69,7 @@
${iproute}/bin/ip link set wg0 netns wg
${iproute}/bin/ip -n wg address add ${secret.wireguard.ipv4} dev wg0
${iproute}/bin/ip -n wg -6 address add ${secret.wireguard.ipv6} dev wg0
${iproute}/bin/ip -n wg link set wg0 mtu 1320
${iproute}/bin/ip -n wg link set wg0 up
${iproute}/bin/ip -n wg route add default dev wg0
${iproute}/bin/ip -n wg -6 route add default dev wg0