My nix config
https://arunoruto.github.io/flake/ ↗ HEALTH ? 83 / Healthy
My nix config
https://arunoruto.github.io/flake/ ↗// readme
NixOS, nix-darwin, and Home Manager configurations managed as a single flake.
git clone https://github.com/arunoruto/flake ~/.config/flake
sudo nixos-rebuild switch --accept-flake-config --flake ~/.config/flake#<device-name>
sudo nix run nix-darwin/nix-darwin-<version>#darwin-rebuild -- switch
Replace <version> with the nix-darwin release (e.g., 25.11).
home-manager switch --flake ~/.config/flake#<username> --accept-flake-config
nix --experimental-features 'nix-command flakes' --accept-flake-config run nixpkgs#home-manager -- switch --flake ~/.config/flake#<username>
Some shells (e.g. zsh) require quoting the flake argument:
--flake './#<username>'
Day-to-day commands are wrapped in a justfile (run inside nix develop .#nix,
which provides just):
just # list all recipes
just switch # build + activate this host
just update # update flake inputs
just check # nix flake check
just docs # serve the docs locally
Full…