-
Notifications
You must be signed in to change notification settings - Fork 0
Install Nix
Jashandeep Sohi edited this page Apr 12, 2024
·
1 revision
Install using Determinate Systems' installer:
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
This should setup Nix in a multi-user setup.
In this mode, because it runs as a daemon, you should add yourself as a trusted user so that you can use binary caching properly:
echo "trusted-users = root $USER" | sudo tee -a /etc/nix/nix.conf
And then restart the daemon:
sudo launchctl kickstart -k system/org.nixos.nix-daemon
Install using Determinate Systems' installer:
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
This should setup Nix in a multi-user setup.
In this mode, because it runs as a daemon, you should add yourself as a trusted user so that you can use binary caching properly:
echo "trusted-users = root $USER" | sudo tee -a /etc/nix/nix.conf
And then restart the daemon:
systemctl restart nix-daemon