• Unmapped@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    I’m new to NixOS. Do I have to do anything extra to update NixOS? Or do I just update my flake and run nixos-rebuild switch --flake like I normally do to update packages?

    • ⸻ Ban DHMO 🇦🇺 ⸻@aussie.zoneOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      7 months ago

      I’m not sure (I’m about to install it for the first time - on this computer) - According to this all you need to do is:

      # nix-channel --add https://channels.nixos.org/nixos-23.11 nixos
      # nixos-rebuild switch --upgrade