Skip to content

Instantly share code, notes, and snippets.

@daisylb
Created February 19, 2020 06:13
Show Gist options
  • Save daisylb/fbe63ff93e440b6b3568b9d6b50b390b to your computer and use it in GitHub Desktop.
Save daisylb/fbe63ff93e440b6b3568b9d6b50b390b to your computer and use it in GitHub Desktop.
Installing Nix on macOS Catalina
echo nix | sudo tee -a /etc/synthetic.conf
# Restart the machine (no, there doesn't appear to be a way around this)
sudo diskutil apfs addVolume disk1 APFSX Nix -mountpoint /nix
sudo diskutil enableOwnership /nix
curl https://nixos.org/nix/install | sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment