This is how I setup my computer. I took a lot of inspiration from the following dotfiles repositories:
- https://github.com/fdietze/dotfiles
- https://github.com/notusknot/dotfiles
- https://gitlab.com/protesilaos/dotfiles
Feel free to take mine as an inspiration as well.
Install
This is not guaranteed to work for anyone anywhere, nor is it supposed to. These are just my instructions for myself. Requires root user privileges.
mkdir -p \
~/Documents \
~/Downloads \
~/Other \
~/Pictures \
~/Projects \
~/Sync
# Add config repo to gitignore important to avoid recursion troubles
echo .cfg >> .gitignore
# If autogenerated .bashrc exists, delete it
rm .bashrc
# Install dotfiles
git clone --bare https://github.com/JohannesNakayama/dotfiles.git $HOME/.cfg
alias cfg='/run/current-system/sw/bin/git --git-dir=/home/johannes/.cfg/ --work-tree=/home/johannes'
cfg config --local status.showUntrackedFiles no
cfg checkout master
# Download alacritty themes
mkdir -p ~/.config/alacritty/themes
git clone https://github.com/alacritty/alacritty-theme ~/.config/alacritty/themes
# Install zgen for zsh plugin management
git clone https://github.com/tarjoilija/zgen.git "${HOME}/.zgen"
# Create symlinks for nix configuration
cp /etc/nixos/hardware-configuration.nix $HOME/.config/nixos
mv /etc/nixos /etc/nixos.bak
ln -s $HOME/.config/nixos /etc/nixos
Notes
- neo2 keyboard layout
- maybe learn qutebrowser or vimb
- rss reader: snownews
Useful Resources
- setting up git
- manage ssh keys with keepassxc
- enable flakes on nixos
- postgres installation and setup
- use neo2 arrow keys in Intellij idea
Useful Browser Extensions