Moved wireguard to systemd-networkd
This commit is contained in:
parent
c961f9da48
commit
0e201a13b0
2 changed files with 14 additions and 0 deletions
|
@ -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-)"
|
||||
|
|
|
@ -16,4 +16,11 @@ export PASS_MQTT="$PASS_MQTT"
|
|||
export ME_FULLNAME="$ME_FULLNAME"
|
||||
export ME_ADDRESS="$ME_ADDRESS"
|
||||
export ME_PHONE="$ME_PHONE"
|
||||
|
||||
export WIREGUARD_MIRKWOOD_PRIVKEY="$WIREGUARD_MIRKWOOD_PRIVKEY"
|
||||
export WIREGUARD_MIRKWOOD_PUBKEY="$WIREGUARD_MIRKWOOD_PUBKEY"
|
||||
export WIREGUARD_MIRKWOOD_PSK="$WIREGUARD_MIRKWOOD_PSK"
|
||||
|
||||
export WIREGUARD_MORIA_PRIVKEY="$WIREGUARD_MORIA_PRIVKEY"
|
||||
export WIREGUARD_MORIA_PUBKEY="$WIREGUARD_MORIA_PUBKEY"
|
||||
SECRET
|
||||
|
|
Loading…
Reference in a new issue