aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-10-19 12:47:14 -0300
committerEuAndreh <eu@euandre.org>2022-10-19 12:47:14 -0300
commite5fb1012c99b241835b46655cda27d3eff481150 (patch)
tree422d460c8beb00131415416741e12eff58517f2c /etc
parentetc/sh/rc: Move creation of common-lisp/source to Makefile (diff)
downloaddotfiles-e5fb1012c99b241835b46655cda27d3eff481150.tar.gz
dotfiles-e5fb1012c99b241835b46655cda27d3eff481150.tar.xz
etc/sh/rc: Move generation of GPG/SSH public keys and e.list.txt to Makefile
Diffstat (limited to 'etc')
-rw-r--r--etc/sh/rc26
1 files changed, 0 insertions, 26 deletions
diff --git a/etc/sh/rc b/etc/sh/rc
index ecb49b7..af3870f 100644
--- a/etc/sh/rc
+++ b/etc/sh/rc
@@ -189,22 +189,6 @@ f() {
fi
}
-cat <<-EOF | sed "s|$HOME|~|" > "$XDG_DATA_HOME"/euandreh/e.list.txt
- ~/Documents/txt/TODOs.md
- ~/Documents/txt/scratch.txt
- $XDG_CONFIG_HOME/sh/rc
- $XDG_CONFIG_HOME/guix/home.scm
- $XDG_CONFIG_HOME/guix/system.scm
- $(find ~/Documents/txt/*.txt ~/Documents/txt/*.md -not -name TODOs.md |
- sed "s|^$HOME|~|" |
- LANG=POSIX.UTF-8 sort)
- ~/dev/libre/package-repository/dependencies.dot
- ~/dev/others/dinheiros/dinheiros.ledger
- ~/dev/libre/dotfiles/sh/fake-symlinks.sh
- $XDG_CONFIG_HOME/guix/channels.scm
- $XDG_CONFIG_HOME/lisp-cli/init.lisp
-EOF
-
reload() {
@@ -239,17 +223,7 @@ SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
GPG_TTY=$(tty ||:)
export GPG_TTY SSH_AUTH_SOCK
gpgconf --launch gpg-agent
-gpg --export-ssh-key eu@euandre.org > "$XDG_CONFIG_HOME"/ssh/id_rsa.pub
-chmod 600 "$XDG_CONFIG_HOME"/ssh/id_rsa.pub
-
-PUB_GPG_FILES="
-$HOME/dev/libre/package-repository/EuAndreh.key
-$HOME/dev/published/euandre.org/public.asc
-"
-for f in $PUB_GPG_FILES; do
- gpg --armour --export eu@euandre.org > "$f"
-done
case $- in