2026-11-05 18:18:26 -05:00
2026-11-05 18:02:57 -05:00
2026-11-05 18:18:26 -05:00
2026-10-20 11:06:07 -04:00
2026-10-20 13:52:55 -04:00

My nix-darwin Configuration

This repo is meant to be a declarative setup for new macOS devices, specifically focused on the application installs. All GUI applications will be handled by homebrew and some brews or CLI tools. The more stable and maintained CLI tools are installed via nixpkgs.

Installation

  1. Clone this repo onto the machine (probably fastest via usb) or install git seperatly and run git clone https://git.briannelson.dev/brian/nix-darwin.git
  2. cd into the repo
  3. Run ./install.sh this will run a bash script that handles all of the installation of nix, file renaming and copying the files to the correct directory.

Homebrew

I like using homebrew as my package manager for most apps as its really easy and convienent to run brew upgrade to update all apps in 1 go. I love nix for many other reasons but some of the packages on the stable branch aren't always up-to-date and take a while to update.

Future Options

I like the option of setting the dock up using some of the options in nix-darwin but only on initial build. I found that getting the macOS machine setup with nix-darwin and setting all the dock apps was cool but if you made changes to to dock for whatever reason (installing a new app, having a different prefernce, etc.), rebuilding the system would then set the dock back to the original option.

I think that the use of Homebrew can help with this a little bit in the sense that I can update most apps without having to rebuild the system. So making changes to the dock via the "normal" click and drag on macOS can stay persistent for the most part but remembering to set the change in the config will be important for rebuilds.

Description
No description provided
Readme 103 KiB
Languages
Nix 90.4%
Shell 9.6%