Skip to content

kris-swann/dotfiles

Repository files navigation

Dotfiles

Setup

Inspired by:

rsync --recursive --verbose --exclude '.git' $HOME/tmpdotfiles/ $HOME/
rm -r $HOME/tmpdotfiles

Reload a new shell (so you have access to the aliases)

.f config --local status.showUntrackedFiles no

Setup github user ~/.gitconfig.user should look like this

[user]
    name = kris-swann
    email = [email protected]

Add the following line to ~/.ssh/config

Include ~/.ssh/config.common

Enable ssh-agent systemd service

systemctl --user enable ssh-agent
systemctl --user start ssh-agent  # Or reboot

Add ssh key to github, follow this guide

Change https to ssh

.f remote set-url origin [email protected]:kris-swann/dotfiles.git

Set up git-crypt (assumes keys are set-up)

git clone --separate-git-dir=$HOME/Projects/dotfiles-private [email protected]:kris-swann/dotfiles-private.git $HOME/tmpdotfiles-private

rsync --recursive --verbose --exclude '.git' $HOME/tmpdotfiles-private/ $HOME/
rm -r $HOME/tmpdotfiles-private

# Unlock git-crypt
.f crypt unlock ~/.local/share/dotfiles/git-crypt-key

# Verify by checking if spell files look correct
cat "$HOME/.config/nvim/spell/en.utf-8.add"

Set up gpg key (assumes dotfiles-private has been set up)

gpg --import ~/.local/share/gpg-exports/krisswannfastmail.private.armor.key

gpg --edit-key [email protected]
# trust
# 5

About

Personal config files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published