Go to file
Andrew Coleman d28f918b5e add helix configuration 2023-03-15 12:27:27 -04:00
dev add dev dir 2021-04-12 21:59:04 -04:00
dot_config add helix configuration 2023-03-15 12:27:27 -04:00
private_dot_local/private_bin update print function 2022-11-08 08:47:38 -05:00
.chezmoiignore ignore ssh keys, they must already be configured for this app to work 2022-11-09 09:20:59 -05:00
README.md add instructions to get ssh keys 2022-11-09 09:21:16 -05:00
dot_bash_profile add .bash_profile 2021-04-13 15:56:01 -04:00
dot_bashrc.tmpl remove weird wayland env vars 2022-08-12 14:14:02 -04:00
dot_gitconfig use light theme in git-delta 2023-01-13 08:17:34 -05:00
dot_profile simplify .profile 2021-04-13 15:55:45 -04:00
dot_tmux.conf add tmux configuration 2021-04-14 16:34:14 -04:00
dot_vimrc update configs 2022-05-10 13:58:50 -04:00

README.md

Bitwarden

curl -Lo bw.zip 'https://vault.bitwarden.com/download/?app=cli&platform=linux'
unzip bw.zip
mkdir -p "$HOME/.local/bin" "$HOME/.config/bash"
install -m 755 bw "$HOME/.local/bin/"
rm -f bw bw.zip
bw config server https://bitwarden.penguincoder.org
bw login
echo "export BW_SESSION=$(bw unlock --raw)" > "$HOME/.config/bash/bitwarden.sh"
source "$HOME/.config/bash/bitwarden.sh"
bw sync
bw get attachment b0b0262ab221403d91ef --itemid b4c098e4-88a1-4b41-819c-cedc90088de0 --output ~/.ssh/github
bw get attachment 2731fbaa949e3d6477e7 --itemid b4c098e4-88a1-4b41-819c-cedc90088de0 --output ~/.ssh/github.pub
bw get attachment c29bed4bb96410e1d50b --itemid b4c098e4-88a1-4b41-819c-cedc90088de0 --output ~/.ssh/gitea
bw get attachment ac30a1167c11c2a9a2c0 --itemid b4c098e4-88a1-4b41-819c-cedc90088de0 --output ~/.ssh/gitea.pub
bw get attachment 56706aa722971d4bc030 --itemid b4c098e4-88a1-4b41-819c-cedc90088de0 --output ~/.ssh/selfhosted
bw get attachment 9b882f99ef5abce6fb85 --itemid b4c098e4-88a1-4b41-819c-cedc90088de0 --output ~/.ssh/selfhosted.pub
chmod 700 ~/.ssh
chmod 600 ~/.ssh/*

Kitty

curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin
mkdir -p "$HOME/.local/bin"
ln -s "$HOME/.local/kitty.app/bin/kitty" "$HOME/.local/bin/"
cp "$HOME/.local/kitty.app/share/applications/kitty.desktop" "$HOME/.local/share/applications/"
cp "$HOME/.local/kitty.app/share/applications/kitty-open.desktop" "$HOME/.local/share/applications/"
sed -i "s|Icon=kitty|Icon=$HOME/.local/kitty.app/share/icons/hicolor/256x256/apps/kitty.png|g" $HOME/.local/share/applications/kitty*.desktop

Chezmoi

sh -c "$(curl -fsLS chezmoi.io/get)"
mv ./bin/chezmoi "$HOME/.local/bin/"
chezmoi init --apply ssh://git@git.penguincoder.org:2222/penguincoder/dotfiles.git

Gitea token

echo -e "export GITEA_TOKEN=$(bw get item gitea | jq -r '.fields[] | select(.name == "token").value')\nexport GITEA_HOST=https://git.penguincoder.org" | tee "$HOME/.config/bash/gitea.sh"