Open knl opened 7 months ago
It sounds like you had previously installed using an older version of our installer (like, say, v0.17.1), which is why that specific error is occurring (you can check by comparing the output of /nix/nix-installer --version
or looking at /etc/receipt.json
, which has the version you installed with as the very first object). However, even if you were using the same version that you installed with (e.g. by running /nix/nix-installer
), you would still get this error:
Found existing plan in `/nix/receipt.json` which used different planner settings, try uninstalling the existing install with `/nix/nix-installer uninstall`
If you want to modify the contents of your nix.conf
after you have already installed Nix, please do so manually by editing /etc/nix/nix.conf
.
If you really, really want to just rerun the installer with these additional settings, you could try removing the receipt file with rm /nix/receipt.json
and rerunning the installer after that -- but if something breaks, you'll be stuck with both halves.
One note is that as a Nix installer, this project isn't currently equipped to manage changes over time. If this is for work, we're working with customers now on automating the management of Nix configurations and versions over time. If you're interested in that we'd be glad to chat. :)
I re-run the installer, adding this to the second invocation:
--extra-conf 'trusted-users = knl'
, and got an error. If the differences are in the arguments, I would expect just a creation of a newnix.conf
.Error
Metadata