2019-10-26 20:05:31 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
source $DOTREPO/secrets/env
|
|
|
|
|
|
|
|
cat <<SECRET > $DOTREPO/secrets/secrets
|
|
|
|
export PASS_LIBREFM="$PASS_LIBREFM"
|
|
|
|
export PASS_MUSICBRAINZ="$PASS_MUSICBRAINZ"
|
|
|
|
export PASS_LISTENBRAINZ="$PASS_LISTENBRAINZ"
|
|
|
|
export PASS_MUSPY="$PASS_MUSPY"
|
|
|
|
export PASS_ARIA2="$PASS_ARIA2"
|
|
|
|
export PASS_MPD="$PASS_MPD"
|
2019-11-02 08:45:18 +02:00
|
|
|
export PASS_MPD_ADMIN="$PASS_MPD_ADMIN"
|
2020-02-14 01:11:23 +02:00
|
|
|
export PASS_IPMI="$PASS_IPMI"
|
2020-02-18 15:44:17 +02:00
|
|
|
export PASS_MQTT="$PASS_MQTT"
|
2019-10-26 20:05:31 +03:00
|
|
|
|
2020-11-25 10:06:19 +02:00
|
|
|
export PASS_EMAIL_HACKER="$PASS_EMAIL_HACKER"
|
2020-11-21 13:23:01 +02:00
|
|
|
export PASS_EMAIL_MARKO="$PASS_EMAIL_MARKO"
|
2020-11-21 15:37:58 +02:00
|
|
|
export PASS_EMAIL_ADMIN="$PASS_EMAIL_ADMIN"
|
2020-11-21 13:23:01 +02:00
|
|
|
|
2019-10-26 20:05:31 +03:00
|
|
|
export ME_FULLNAME="$ME_FULLNAME"
|
|
|
|
export ME_ADDRESS="$ME_ADDRESS"
|
|
|
|
export ME_PHONE="$ME_PHONE"
|
2020-04-04 11:30:43 +03:00
|
|
|
|
|
|
|
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"
|
2019-10-26 20:05:31 +03:00
|
|
|
SECRET
|
2020-11-21 13:02:03 +02:00
|
|
|
|
|
|
|
chmod 600 $DOTREPO/secrets/secrets
|