- Install
nix-darwin
https://github.com/LnL7/nix-darwin, pretty much run:- Run
nix run nix-darwin --extra-experimental-features "nix-command flakes" -- switch --flake /path/to/this/repo#aarch64-darwin --impure
- Run
- If you make changes and want to rebuild:
darwin-rebuild switch --flake /path/to/this/repo#aarch64-darwin --impure
- Run
sudo nixos-rebuild switch --flake /path/to/this/repo#x86_64-linux