Install nix
curl -sSf -L https://install.lix.systems/lix | sh -s -- installInstall dotfiles
sudo -H nix run nix-darwin/master#darwin-rebuild -- switch --flake github:dewinterjack/dotfiles-nixIt will infer the host and use the appropriate configuration however if the host doesn't match it will fail. You can specify which configuration to use like this
sudo -H nix run nix-darwin/master#darwin-rebuild -- switch --flake github:dewinterjack/dotfiles-nix#Jacks-Mac-Studiodarwin-rebuild switch --flake ~/code/dotfiles-nixsudo nix --extra-experimental-features "nix-command flakes" run nix-darwin#darwin-uninstaller