This is my personal configuration for nix-darwin
- Clone this repo
- Install homebrew
- Install nix
- Install nix-darwin
Run the initial setup which will build all the derivations which may take a while.
- Override /etc/nix-darwin dir with this repo
Make sure to update username & home path in flake.nix
users.users.vaporif = {
name = "vaporif";
home = "/Users/vaporif";
};
- Apply config
darwin-rebuild switch
- Allow direnv .envrc for default devshell
direnv allow ~