I installed NixOS 21.11 (minimal ISO) in a VM and used NixOps inside latest docker nixos/nix image to deploy a new configuration/generation without specifying a particular channel anywhere.
The output of nix-channel --list is:
nixos nixos-21.11 release nixos-21.11.335820.521e4d7d13b
Somehow in the GRUB boot menu the generations 1-4 alternate between 21.11 and 22.05pre, and I’m wondering why?
pre-flakes. The convention was NIX_PATH=nixpkgs=/path/to/nixpkgs. If you do echo $NIX_PATH, it should point to file paths, that’s where nixpkgs is coming from. nix-channel command just happened to update those paths, which gives the sense of “updating”.
But I haven’t used nixops too much, so i can’t comment on that workflow.