Skip to content

krmannix/starterpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

starterpack

Consistent setup for my macOS machines.

Quick Start

  1. Install Nix
curl -L https://nixos.org/nix/install | sh -s -- --daemon
mkdir -p ~/.config/nix
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
  1. Clone this repo:
git clone [email protected]:krmannix/starterpack ~/.config/starterpack
cd ~/.config/starterpack
  1. Run bootstrap script:
./bootstrap.sh

Initial Run Installation

After cloning and running bootstrap, apply the nix-darwin configuration:

sudo nix --extra-experimental-features "nix-command flakes" run nix-darwin -- switch --flake ~/.config/starterpack#default --impure

Updates

Create an update

Edit any file in ~/.config/starterpack/, then apply:

darwin-rebuild switch --flake ~/.config/starterpack#default --impure

Some configs are copied rather than symlinked. After editing them in place, sync back to the repo:

nix-sync

Review changes, commit, and push up.

Pull an update

cd ~/.config/starterpack
git pull
darwin-rebuild switch --flake ~/.config/starterpack#default --impure

What's managed?

  • CLI tools
  • Language environment managers
  • Terminals, Browsers, and utility apps like Alfred
  • Zsh configuration
  • Git aliases & settings
  • Cursor/VSCode settings
  • iTerm2 preferences
  • Claude settings + ~/CLAUDE.md
  • Git user name and email
  • SSH keys
  • Claude API key

About

nix configuration for personal devices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors