foodotfiles/secrets/env

26 lines
1.5 KiB
Plaintext
Raw Normal View History

#!/bin/bash
2020-11-21 11:23:01 +00:00
export PASS_LIBREFM="$(pass entertainment/libre.fm | head -1)"
export PASS_MUSICBRAINZ="$(pass entertainment/musicbrainz.org | head -1)"
export PASS_LISTENBRAINZ="$(pass entertainment/musicbrainz.org | rg 'listenbrainz_token' | cut -d' ' -f2-)"
2020-11-21 11:23:01 +00:00
export PASS_MUSPY="$(pass entertainment/muspy.com | head -1)"
export PASS_ARIA2="$(pass linux/aria2 | head -1)"
export PASS_MPD="$(pass linux/mpd | head -1)"
export PASS_MPD_ADMIN="$(pass linux/mpd-admin | head -1)"
export PASS_IPMI="$(pass selfhosted/idrac | head -1)"
export PASS_MQTT="$(pass selfhosted/mqtt.reekynet.com | head -1)"
export PASS_EMAIL_HACKER="$(pass email/functionalhacker@korhonen.cc | head -1)"
2020-11-21 11:23:01 +00:00
export PASS_EMAIL_MARKO="$(pass email/marko@korhonen.cc | head -1)"
export PASS_EMAIL_ADMIN="$(pass email/admin@korhonen.cc | head -1)"
export ME_FULLNAME="$(pass me | head -1)"
export ME_ADDRESS="$(pass me | rg 'address' | cut -d' ' -f2-)"
export ME_PHONE="$(pass me | rg 'phone' | cut -d' ' -f2-)"
2020-04-04 08:30:43 +00:00
2020-11-21 11:02:03 +00:00
export WIREGUARD_MIRKWOOD_PRIVKEY="$(pass selfhosted/wireguard/mirkwood | grep PrivateKey | cut -d' ' -f2-)"
export WIREGUARD_MIRKWOOD_PUBKEY="$(pass selfhosted/wireguard/mirkwood | grep PublicKey | cut -d' ' -f2-)"
export WIREGUARD_MIRKWOOD_PSK="$(pass selfhosted/wireguard/mirkwood | grep PreSharedKey | cut -d' ' -f2-)"
2020-04-04 08:30:43 +00:00
2020-11-21 11:02:03 +00:00
export WIREGUARD_MORIA_PRIVKEY="$(pass selfhosted/wireguard/moria | grep PrivateKey | cut -d' ' -f2-)"
export WIREGUARD_MORIA_PUBKEY="$(pass selfhosted/wireguard/moria | grep PublicKey | cut -d' ' -f2-)"