This is my nix-darwin/home-manager/nix files that is heavily based on ryan4yin jmatsushita, phlmn, AxelTLarsson and others.
I leave all devtools out of this as they will be installed / project basis on direnv level instead.
-
Install Nix package manager via Nix Official or The Determinate Nix Installer
-
Install Homebrew, see https://brew.sh/
Then you can run make update
in the root of your nix configuration to deploy your configuration.
First time install
nix build .#darwinConfigurations.sculpin.system --extra-experimental-features 'nix-command flakes'
./result/sw/bin/darwin-rebuild switch --flake .#sculpin
direnv allow
Afterwards
build
Build and show updates
switch
Update system