No description
  • Nix 98.2%
  • Shell 1.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-03 09:00:55 +02:00
hosts feat: add google chrome to work profile, add gemini 2026-08-18 13:54:23 +02:00
modules feat: add insomnia 2026-09-03 09:00:55 +02:00
scripts feat: add insomnia 2026-09-03 09:00:55 +02:00
.gitignore feat: add validation 2026-06-04 16:38:26 +02:00
flake.lock feat: upgrade packages 2026-06-17 14:15:19 +02:00
flake.nix chore: cleanup nix configuration, split packages per host 2026-06-08 12:15:25 +02:00
README.md feat: add README.md 2026-06-02 09:22:59 +02:00
Taskfile.yml feat: upgrade packages 2026-06-17 14:15:19 +02:00

Nix configuration for Mac

Nix configuration that consolidates Mac management in a declarative way.

Pre-requisites

To make use of the repository the following are required:

  • Nix Package Manager
    curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
    
  • Brew
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    

Initial run

Before the first run, there are no aliases and no configuration yet installed, run the initialization command first:

nix run nix-darwin -- switch --flake ~/.config/nix-darwin

Now the system is configured

Applying changes

Every time an update happens you need to run the following command:

darwin-rebuild switch --flake ~/.config/nix-darwin

There is also an alias added to make it easier:

nix-rebuild