Based on dustinlyons' config. Thanks for the inspiration.
-
Required for Darwin systems:
-
Install base tools
# Command-line tools xcode-select --install # Rosetta sudo softwareupdate --install-rosetta # Nix sh <(curl -L https://nixos.org/nix/install) # Homebrew /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
-
-
Add system to
flake.nix
. -
Secrets setup:
- Download gustavclausen/nix-secrets to local machine.
- Follow instructions for setting up bootstrap secrets.
-
Add GitHub Personal Access token to Nix config (default locations per OS documented here):
access-tokens = github.com=<PAT>
-
Deploy configuration:
FLAKENAME="<system config name>" make build FLAKENAME="<system config name>" make switch