Apart from my Real Dotfiles, here is the setup I run since switching back to Linux in 2010-ish.
I run NixOS on most of my machines. This repository is home to the Nix config for both system and home-manager.
curl -sfL https://git.io/chezmoi | sh
mkdir -p ~/.local/share/
git clone https://git.bascht.space/bascht/dotfiles.git ~/.local/share/chezmoi
chmod 0700 ~/.local/share/chezmoi
git ~/.local/share/chezmoi config --local core.hooksPath .githooks/
~/bin/chezmoi apply