Requires GNU Stow sudo apt install stow
/nix-env -iA nixpkgs.stow
Simply stow $PKGNAME
to add all dotfiles for PKGNAME
My custom hand-rolled config works with stow emacs
, but I am currently in the
process of testing out (or indeed switching to) Doom Emacs. That takes a tiny
bit more effort to set up:
stow doom-emacs
git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.emacs.d
~/.emacs.d/bin/doom install --no-hooks # Say no to hooks, but say yes to all else
~/.emacs.d/bin/doom doctor
Whenever changes are made to ~/.doom.d
, run doom sync
and restart Emacs
(C-c q r
). Run doom upgrade
to update Doom itself.
If you end up with a blank screen, it is likely due to missing fonts (try
emacs --debug-init
to confirm). If so, run this:
wget https://github.com/ryanoasis/nerd-fonts/releases/latest/download/Iosevka.zip
unzip Iosevka.zip
mv Iosevka*.ttf ~/.local/share/fonts/
fc-cache --force --verbose