I’m running NixOS 19.09, and when I try to run
nixos-rebuild switch, I’m greeted with a lot of NIX_PATH errors, and I’m not sure how to fix this. How does Nix arrive at the nixpkgs/nixos filename? And why are they all referencing root instead of my own user? As a non-root user on NixOS, what channels should I be using? From what I’ve read, I thought I had to use the nixos channels, which you can see I’ve added from the output of my
nix-channel --list command.
Can anyone help steer me in the correct direction? Thanks.