dotfiles/README.md
2025-07-23 11:57:54 +00:00

3.1 KiB

dotfiles

nixos + tmux + fish + neovim

This repo is an extension of dannydannydanny/methodology

Roadmap:

Windows

  • disable system sounds: start menu search: "change system sounds" -> set profile to None
  • change language / keyboard layout to en_US
  • install powertoys
    • remap CAPS LOCK to L-CTRL
  • install alacritty (use the installer, not portable)
    • add alacritty config: /mnt/c/Users/<winuser>/AppData/Roaming/alacritty/alacritty.yml

WSL

Install via nix-community/NixOS-WSL Quickstart Setup dotfiles / config via github:

# git and github CLI tool in a temp shell
nix-shell -p gh git
# authenticate
gh auth login
# clone dotfiles
gh repo clone dannydannydanny/dotfiles
# checkout the appropriate branch
git checkout feat/wsl-neovim-update
# rebuild WSL nixos using
sudo nixos-rebuild switch --flake ~/dotfiles/nixos#wsl
# rebuild macbook nixos using
# sudo nixos-rebuild switch --flake ~/dotfiles/nixos#macbook

Clone repo SSH method

Skip this if you don't plan on getting SSH access to github repos and clone with HTTP instead

generate ssh

ssh-keygen -q -t ed25519 -N '' -f ~/.ssh/id_ed25519_github <<<y >/dev/null 2>&1

# echo 'older machines might not support ed25519, then use RSA with 4096 bit key'
# echo  'ssh-keygen -q -t rsa -b 4096 -N '' -f ~/.ssh/id_rsa_github <<<y >/dev/null 2>&1'

# add the output to https://github.com/settings/ssh/new
cat ~/.ssh/id_*_github.pub
# add to https://github.com/settings/ssh/new

activate ssh

echo 'adding key to ssh-agent'
eval `ssh-agent -s`  # if using fish shell run: eval "$(ssh-agent -c)"
ssh-add ~/.ssh/id_*_github

# download dotfiles repo
git clone git@github.com:DannyDannyDanny/dotfiles.git

# config git
cd dotfiles
git config user.name "DannyDannyDanny"
git config user.email "dth@taiga.ai"
git config pull.rebase false
git config push.autoSetupRemote true
# more git config: https://blog.gitbutler.com/how-git-core-devs-configure-git/

# install dotfiles
bash install.sh

# hop back out
cd ..

Good Reads / Philosophy