1
1
mirror of https://github.com/nmattia/niv.git synced 2024-10-06 12:27:35 +03:00

Fix nix.conf

This commit is contained in:
Nicolas Mattia 2021-11-08 12:37:09 +01:00
parent a751be0775
commit 5830a4dd34

View File

@ -12,7 +12,7 @@ install_nix() {
sudo sh -c 'echo max-jobs = auto >> /tmp/nix.conf'
# Allow binary caches for runner user
sudo sh -c 'echo trusted-users = root runner >> /tmp/nix.conf'
sudo sh -c 'echo extra-experimental-features = nix-command >> /tmp/nix.conf'
sudo sh -c 'echo experimental-features = nix-command flakes >> /tmp/nix.conf'
sh <(curl -L ${INPUT_INSTALL_URL:-https://nixos.org/nix/install}) \
--daemon --daemon-user-count 4 --nix-extra-conf-file /tmp/nix.conf --darwin-use-unencrypted-nix-store-volume --no-channel-add