aboutsummaryrefslogtreecommitdiff

These are my dotfiles for various machines I use with Nix.

Some of machines are standard NixOS, some Darwin + Nix, and some just Nix on a different distro where I just need my user configs managed, not the full system.

I've settled on using Home Manager to trigger even system-level re-builds just because it is quite convenient to do so, as opposed to doing it separately. It is probably not the best approach, but it works for me.

Having it all be part of the same flake means that I get the same version of software on all of these machines, which is nice.

I use GNU Stow to manage the Nix, and HM dotfiles themselves.

# On non-NixOS, you can usually find it in your distro's package manager

# On NixOS, you can do
# nix-shell -p stow
stow -v -t ~ nix home-manager

For updating a specific input only:

nix flake lock --update-input llm-agents
home-manager switch