Closed towry closed 1 year ago
On macos terminal:
sudo vim /etc/nix/nix.conf
trusted-user = root @staff {your_username}
run whoami or id to get the value of {your_username}
whoami
id
{your_username}
sudo launchctl stop org.nixos.nix-daemon sudo launchctl start org.nixos.nix-daemon
Add trusted-user
On macos terminal:
sudo vim /etc/nix/nix.conf
run
whoami
orid
to get the value of{your_username}
restart the daemon