Moved wireguard to systemd-networkd

This commit is contained in:
Marko Korhonen 2020-04-04 11:30:43 +03:00
parent c961f9da48
commit 0e201a13b0
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
2 changed files with 14 additions and 0 deletions

View file

@ -12,3 +12,10 @@ export PASS_MQTT="$(pass reekynet/mqtt.reekynet.com | head -n 1)"
export ME_FULLNAME="$(pass me | head -n 1)"
export ME_ADDRESS="$(pass me | rg 'address' | cut -d' ' -f2-)"
export ME_PHONE="$(pass me | rg 'phone' | cut -d' ' -f2-)"
export WIREGUARD_MIRKWOOD_PRIVKEY="$(pass reekynet/wireguard/mirkwood | grep PrivateKey | cut -d' ' -f2-)"
export WIREGUARD_MIRKWOOD_PUBKEY="$(pass reekynet/wireguard/mirkwood | grep PublicKey | cut -d' ' -f2-)"
export WIREGUARD_MIRKWOOD_PSK="$(pass reekynet/wireguard/mirkwood | grep PreSharedKey | cut -d' ' -f2-)"
export WIREGUARD_MORIA_PRIVKEY="$(pass reekynet/wireguard/moria | grep PrivateKey | cut -d' ' -f2-)"
export WIREGUARD_MORIA_PUBKEY="$(pass reekynet/wireguard/moria | grep PublicKey | cut -d' ' -f2-)"