-
Install the dependencies (git, etc.):
$ xcode-select --install
-
Install Homebrew:
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" -
Install Nix:
$ curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | \ sh -s -- install
-
Load the ssh key or create one, then login to GitHub.
-
Clone the nix-conf repo:
$ git clone git@github.com:mantomat/nix-conf.git
-
Install
nix-darwinand apply the configuration:$ nix run nix-darwin/master#darwin-rebuild -- build --flake .#mantomat $ sudo nix run nix-darwin/master#darwin-rebuild -- switch --flake .#mantomat
In order to run the backups, setup the secrets:
setup-backup-secrets