Nix-channel not working?

Hey, fresh install. just working my way through the manual and trying commands. It is in a VM because I want to try out things first, so maybe that’s making a difference here (also using budgie if that may make a difference).

nix-channel --list | grep nixos
^This returns a blank line

I removed the grep but …
nix-channel --list

This also returns a blank line.

I think I ran into some other command that didn’t work too but I can’t remember what it was …

Anyways waiting to figure out what my issue is before going forth and trying more stuff!

You are querying the channel list of the current user. There is also a system wide channel list, which can be queried/modified by root (or using sudo).

2 Likes