Nix flake for mac working dev environment
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-05-15 10:19:17 -04:00
flake.lock Configure unstable packages, add some new software 2026-05-15 10:10:05 -04:00
flake.nix Configure unstable packages, add some new software 2026-05-15 10:10:05 -04:00
README.md Update readme 2026-05-15 10:19:17 -04:00

Reference: https://sandstorm.de/de/blog/post/my-first-steps-with-nix-on-mac-osx-as-homebrew-replacement.html

Create / reinstall this profile

From this flake directory:

  • nix profile install --profile ~/.nix-profile path:$PWD#default

Installing software

  • Add packages to pkgs or pkgsUnstable, run nix profile upgrade nix-mac

Update unstable packages

  • nix flake update unstable
  • nix profile ugrade nix-mac

Update nix package manager

  • sudo nix-channel --update
  • sudo nix-env -iA nixpkgs.nix
  • reboot computer
  • check nix --version after reboot