First off, I’m posting this not to complain, but to hopefully help improve the experience for other new users.
I’ve used Gentoo and Arch for many years, so perhaps I’ve been spoiled with excellent wikis and docs. After all the good things I’ve heard about NixOS, I’m surprised to see so much missing from the installation docs.
Am I missing some other source, or is this how most users are installing NixOS?
https://nixos.wiki/wiki/Installing_from_Linux
I’m only half way through and already have found a few errors and had to search for other docs. The chroot directory and the new root directory seem to be mixed up in a couple places as well.
Just to pick one example:
# (chroot) NIX_PATH="nixpkgs=channel:nixos-21.11" nixos-install
There’s no explanation for what the NIX_PATH
env variable is doing, what kind of channels I should be choosing from, and that I should be updating the version number to the latest release.
There was also no guidance on common things to set in the configuration file. And in the previous paragraph the configuration file to edit was (I believe mistakenly) identified as the liveusb config file, not the newly installed root config file.
If those are indeed the installation instructions that I should be using, would you recommend I just edit them on the wiki as I go with anything that seems like a mistake and add some additional details?