Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 757 Bytes

File metadata and controls

22 lines (15 loc) · 757 Bytes

Nix Darwin Configuration

The config files for my Nix-darwin on MacOS, built with ❤️ and Nix by Andresa Valério

Why Nix?

Many of my clients use MacOS environment. You can certanly say that the most used package manager is Homebrew, and I use it for simpler jobs.

However, I see four main reasons to use Nix instead:

  1. More control over versions;
  2. Simpler way to change machine without losing environment;
  3. It is compatible with my current personal environment, which is NixOS;
  4. It’s fun.

I pretend to make a more detailed article about this in future.

Flakes

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