NixOS, nix-darwin, and Home Manager configurations managed as a single flake.
git clone https://github.com/arunoruto/flake ~/.config/flakesudo nixos-rebuild switch --flake ~/.config/flake#<device-name> --accept-flake-configsudo nix run nix-darwin/nix-darwin-<version>#darwin-rebuild -- switchReplace <version> with the nix-darwin release (e.g., 25.11).
home-manager switch --flake ~/.config/flake#<username> --accept-flake-confignix --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>'
Full documentation site: nix build .#docs or mdbook serve in the repo root.
