- Install Nix
sh <(curl -L https://nixos.org/nix/install)
- Clone the repository and navigate to it
- Stow config files using Nix packages
nix run "nixpckg#stow" .
- Install nix-darwin
nix run nix-darwin -- switch --flake ~/.config/nix-darwin
- Use
nix-darwin
darwin-rebuild switch --flake ~/.config/nix-darwin