Skip to content

Collection of Nix configurations for managed hosts.

Notifications You must be signed in to change notification settings

thommahoney/nix-configs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

nix-configs

macOS setup

  1. After initial macOS setup (user account, iCloud sign-in etc.) open Terminal.app and run xcode-select --install to install the macOS developer tools.
  2. Generate a new SSH key using ssh-keygen -t ed25519 -C "EMAIL_ADDRESS"
  3. Using Safari.app, login to GitHub and add the new key to the account.
  4. Clone the nix-configs repo locally:
git clone [email protected]:thommahoney/nix-configs.git ~/.config/nix-configs
  1. Add the new host to the configuration if necessary.

  2. Install homebrew:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  1. Install nix using the Determinate Systems Nix Installer
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
  1. Install nix-darwin:
nix run nix-darwin -- switch --flake ~/.config/nix-configs/$name
  1. Iterate on config and apply it with:
darwin-rebuild switch --flake ~/.config/nix-configs/$name

About

Collection of Nix configurations for managed hosts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages