need a simple guide about how to use this repo on my Mac Air
Hi, I am new to nixos. and tried to use this repo to install on my Mac air book.
Could you add a simple a guide on how to install the repo to my Mac?
Should I modify some where in flake.nix? to match my Mac?
I tried but failed. git clone to my Mac, and cd nixos-config. Error messages below:
darwin-rebuild switch --flake .
zsh: command not found: darwin-rebuild
➜ nixos-config git:(main) ✗ nix run nix-darwin -- switch --flake .
building the system configuration...
error: flake 'git+file:///Users/etcrbwa/nixos-config?ref=refs/heads/main&rev=ae1594d00651f673c6a51d7aac14366b79c2c5cc' does not provide attribute 'packages.x86_64-darwin.darwinConfigurations.Wangs-MacBook-Air.system', 'legacyPackages.x86_64-darwin.darwinConfigurations.Wangs-MacBook-Air.system' or 'darwinConfigurations.Wangs-MacBook-Air.system'
Looks like you need to first have nix-darwin