Welcome to my dotfiles repo, tailored for NixOS. This setup blends NixOS's declarative power with portability for non-Nix systems. I use GNU Stow to manage symlinks to my config dirs, ensuring reproducibility across setups.
- Optimized for NixOS workflows
- Symlink management with Stow for cross-system use
- Simple Makefile for common tasks (see below)
The Makefile provides commands to manage this setup. Run make help to
see all options:
- 
make switch
 Rebuilds and switches to the new NixOS config using the flake here.
 Command:sudo nixos-rebuild switch --flake .
- 
make update
 Updates flake inputs and rebuilds the system.
 Command:sudo nix flake update && make switch
- 
make clean
 Cleans the Nix store and optimizes it.
 Command:sudo nix-collect-garbage -d && nix-store --optimise
- 
make apply-dotfiles
 Applies dotfiles by creating symlinks with Stow.
 Command:stow .
- Clone this repo to your desired spot (e.g., ~/dotfiles).
- Run make apply-dotfilesto symlink the dotfiles.
- For NixOS, use make switchto apply the config.
- Ensure GNU Stow and Nix is installed.
- Adjust paths in the dotfiles if your setup varies.