Based on dustinlyons/nix-config, this repository contains my personal environment.
It's currently only tested on macOS, but it should mostly work on NixOS. I'm moving toward 1Password as an agent for GPG/SSH, but haven't yet fully implemented that for NixOS.
.
├── apps # Nix commands used to bootstrap and build configuration
├── hosts # Host-specific configuration
├── modules # macOS and nix-darwin, NixOS, and shared configuration
├── overlays # Drop an overlay file in this dir, and it runs. So far, mainly patches.
├── templates # Starter versions of this configuration
This configuration supports both Intel and Apple Silicon Macs.
Let Apple know that we'd like to use the computer:
xcode-select --install
And then install Nix. I use the Determinate Systems distribution:
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
Finally, cut over to the new Nix:
./switch.sh
./switch.sh # I think it's that easy??