Nix flake for mac working dev environment
- Nix 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| flake.lock | ||
| flake.nix | ||
| README.md | ||
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 unstablenix profile ugrade nix-mac
Update nix package manager
sudo nix-channel --updatesudo nix-env -iA nixpkgs.nix- reboot computer
- check
nix --versionafter reboot