diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-10-13 02:57:50 -0700 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-10-13 02:57:50 -0700 |
commit | b378faaf029fc63e02a4221f97f2abc6ccc6fcf8 (patch) | |
tree | 31fd6fad621aa118b207bfa0baa437789793f442 /home/root | |
parent | f3c0ed69f8671defeb442cedfc349613face0e77 (diff) | |
download | nix-b378faaf029fc63e02a4221f97f2abc6ccc6fcf8.tar nix-b378faaf029fc63e02a4221f97f2abc6ccc6fcf8.tar.gz nix-b378faaf029fc63e02a4221f97f2abc6ccc6fcf8.tar.bz2 nix-b378faaf029fc63e02a4221f97f2abc6ccc6fcf8.tar.lz nix-b378faaf029fc63e02a4221f97f2abc6ccc6fcf8.tar.xz nix-b378faaf029fc63e02a4221f97f2abc6ccc6fcf8.tar.zst nix-b378faaf029fc63e02a4221f97f2abc6ccc6fcf8.zip |
Undo relative SOPS path
Diffstat (limited to '')
-rw-r--r-- | home/root/arrakis.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/home/root/arrakis.nix b/home/root/arrakis.nix index aee1567..c78c958 100644 --- a/home/root/arrakis.nix +++ b/home/root/arrakis.nix @@ -27,8 +27,8 @@ ip route add 192.168.1.3/32 dev veth.host ip link add wg1 type wireguard ip link set wg1 netns vpn - ip -n vpn -4 address add $(grep ^#Address ${config.sops.secrets."wireguard/wg1_conf".path} | cut -d= -f2 | cut -d, -f1 | xargs) dev wg1 - ip netns exec vpn wg setconf wg1 ${config.sops.secrets."wireguard/wg1_conf".path} + ip -n vpn -4 address add $(grep ^#Address /run/secrets/wireguard/wg1_conf | cut -d= -f2 | cut -d, -f1 | xargs) dev wg1 + ip netns exec vpn wg setconf wg1 /run/secrets/wireguard/wg1_conf ip -n vpn link set wg1 up ip -n vpn route add default dev wg1 ip netns exec vpn nft -f /etc/nftables-vpn.conf |