install-on-tails.bash: initial commit

This commit is contained in:
Aminda Suomalainen 2024-08-12 09:37:57 +03:00
parent 686c282b99
commit 1a82c07999
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 7 additions and 6 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
~
# All dotfiles # All dotfiles
.* .*

View File

@ -7,10 +7,10 @@ set +x
export DISTROID="$(lsb_release -si)" export DISTROID="$(lsb_release -si)"
# Tails persistent directory # Tails persistent directory
export PERSISTDIR="~/Persistent" export PERSISTDIR="$HOME/Persistent"
# This target directory # This target directory
export SHELL_THINGS_REPO="~/Persistent/src/codeberg.org/Aminda/shell-things" export SHELL_THINGS_REPO="$HOME/Persistent/src/codeberg.org/Aminda/shell-things"
# WARNING! # WARNING!
printf "USING THESE FILES IS EVEN MORE DANGEROUS ON TAILS THAN IN GENERAL.\n" printf "USING THESE FILES IS EVEN MORE DANGEROUS ON TAILS THAN IN GENERAL.\n"
@ -73,17 +73,17 @@ cd
# bash # bash
ln -nsfv $SHELL_THINGS_REPO/rc/bashrc $PERSISTDIR/dotfiles/.bashrc ln -nsfv $SHELL_THINGS_REPO/rc/bashrc $PERSISTDIR/dotfiles/.bashrc
ln -nsfv $SHELL_THINGS_REPO/rc/bashrc ~/.bashrc ln -nsfv $SHELL_THINGS_REPO/rc/bashrc $HOME/.bashrc
# zsh # zsh
ln -nsfv $SHELL_THINGS_REPO/rc/zshrc $PERSISTDIR/dotfiles/.zshrc ln -nsfv $SHELL_THINGS_REPO/rc/zshrc $PERSISTDIR/dotfiles/.zshrc
ln -nsfv $SHELL_THINGS_REPO/rc/zshrc ~/.zshrc ln -nsfv $SHELL_THINGS_REPO/rc/zshrc $HOME/.zshrc
# tmux # tmux
ln -nsfv $SHELL_THINGS_REPO/conf/tmux.conf $PERSISTDIR/dotfiles/.tmux.conf ln -nsfv $SHELL_THINGS_REPO/conf/tmux.conf $PERSISTDIR/dotfiles/.tmux.conf
ln -nsfv $SHELL_THINGS_REPO/conf/tmux.conf ~/.tmux.conf ln -nsfv $SHELL_THINGS_REPO/conf/tmux.conf $HOME/.tmux.conf
# git # git
git config --global gpg.ssh.allowedSignersFile $PERSISTDIR/src/codeberg.org/Aminda/ssh-allowed_signers/allowed_signers git config --global gpg.ssh.allowedSignersFile $PERSISTDIR/src/codeberg.org/Aminda/ssh-allowed_signers/allowed_signers
ln -nsfv $SHELL_THINGS_REPO/conf/gitconfig $PERSISTDIR/dotfiles/.gitconfig ln -nsfv $SHELL_THINGS_REPO/conf/gitconfig $PERSISTDIR/dotfiles/.gitconfig
ln -nsfv $SHELL_THINGS_REPO/conf/gitconfig ~/.gitconfig ln -nsfv $SHELL_THINGS_REPO/conf/gitconfig $HOME/.gitconfig
# Let's go home # Let's go home
cd cd