I'm currently on 18.03 and would like to upgrade to 18.09. How would I go about doing this?
I've found the following via a web search but it's not very conclusive: https://discourse.nixos.org/t/how-to-upgrade-from-18-03-to-18-09/933
I'm assuming I could possibly just change my channel referenced by
nixos? But I'm not sure if this is ideal for allowing to rollback in the case of things going wrong.
sudo nix-channel --list nixos https://nixos.org/channels/nixos-18.03 unstable https://nixos.org/channels/nixos-unstable
In addition I've also seen the following: https://github.com/NixOS/nixpkgs/issues/40351#issuecomment-388405973 (quoted below) - do I need to take this into consideration?
# This value determines the NixOS release with which your system is to be # compatible, in order to avoid breaking some software such as database # servers. You should change this only after NixOS release notes say you # should. system.stateVersion = "17.09"; # Did you read the comment? I didn't saw when command was issued to change this.
I read the release notes, news and available information. Waited for the command to do it, but not found one.
Anyway, couple days after release I changed "17.09" -> "18.03".