Personal dotfiles managed with Hjem on NixOS.
This repo mirrors $HOME; Hjem symlinks each entry into your home directory:
.config/— application configs, one top-level directory per app (e.g..config/nvim,.config/hypr). No per-app stow packages..config/nixos/— NixOS + Hjem flake (flake.nix,hjem.nix,home.nix, ...).- Home-level dotfiles at the repo root (
.bashrc,.bash_profile,.gitconfig,.gitmessage,.gitignore_global,.tmux.conf,.tmux/,.zen/, ...).
hjem.users.muntasir.files in .config/nixos/hjem.nix lists what is linked; sources are the same relative path in this repo.
git clone --recursive https://github.com/MuntasirSZN/dotfiles.git ~/.dotfiles
sudo nixos-rebuild switch --flake ~/.dotfiles/.config/nixos#nixosOr run the helper script (clones, then rebuilds):
curl -s https://raw.githubusercontent.com/MuntasirSZN/dotfiles/main/install.sh -o install.sh && chmod +x install.sh && ./install.shNote
Check the script first before running it. Only NixOS is supported. If you have old symlinks in $HOME, remove them first, or set hjem.clobberByDefault = true, before rebuilding.
sudo nixos-rebuild switch --flake ~/.dotfiles/.config/nixos#nixosContributions are welcome! Feel free to fork this repository and submit pull requests.
MIT — see LICENSE.