Use nixos for linux, obviously
xcode-select --installif on MacOS for all required developer dependencies- Install nix using the streamlined Determinate nix installer.
-
mkdir -p nix-config && cd nix-config && nix flake --extra-experimental-features 'nix-command flakes' init -t github:tonyage/nix-config
- Apply relevant GitHub info
nix run .#apply - Create ssh-keys
nix run .#create-keys - Provision a system
nix run .#build - Update current system provision
nix run .#build-switch
# TODO secret management to handle provisioning ssh public keys via `agenix` for user and system scopes