Closed vandr0iy closed 4 years ago
system.stateVersion
does not pin your system to a specific version of NixOS, it's to ensure that stateful parts of your system keep working when otherwise backwards-incompatible changes to e.g. options might happen in the future. See the option description for a more thorough explanation.
- channels(root):
"nixos-21.03pre244669.5aba0fe9766"
Your system got upgraded to 21.03 because that's seemingly what your root channel is pointing at. You can run nix-channel --list
as root to confirm that; To keep running with 20.03, it should point at https://nixos.org/channels/nixos-20.03
.
oh - I have my nix-channels mismanaged. Noticed only now. Thank you for the help!
Describe the bug my
/etc/nixos/configuration.nix
has its system.stateVersion set to "20.03", but nix just now updated me to the latest unstable one.To Reproduce Steps to reproduce the behavior: no idea. It just... installed the new OS version last time I ran the upgrade as root.
Expected behavior To stay on the 20.03 'til the end of the time
Metadata
Maintainer information: my nix config:
Please, tell me if there's anything wrong with my config that might have caused this behavior