Personal dotfiles managed with GNU Stow.
Install on Debian/Ubuntu:
sudo apt install stowInstall on macOS:
brew install stowInstall on Arch Linux:
sudo pacman -S stowClone the repository:
# You must use the `--recurse-submodules` flag otherwise configs won't be filled
# `-j8` is an optional performance optimization
git clone --recurse-submodules -j8 https://github.com/hamst/dotfiles.git ~/dotfiles
cd ~/dotfiles
# If you didn't use the `--recurse-submodules` flag initially, intiate submodules
git submodule update --init --recursiveStow the desired packages:
stow package
## or just the whole directory at once
stow .Alternatively, a nice way to setup (and ongoing as long as everything is committed)
stow --adopt .
git restore .Some configs (kernel module params, udev rules) live in /etc/ and aren't managed by Stow.
Run the script to copy them:
./install-system.shThese items aren't automatically set up at the moment.
# this relies on `npm` already being installed
npm install --global corepack@latest
# if using mise only
mise reshim
# install pnpm
corepack enable pnpm