Updating NixOS: Difference between revisions

Pigs (talk | contribs)
Add section on updating nixos if you are using flakes
Pigs (talk | contribs)
m link to channel branches
Line 12: Line 12:


=== Updating NixOS channels ===
=== Updating NixOS channels ===
<syntaxhighlight lang="console">
<syntaxhighlight lang="console">
# nix-channel --update
# nix-channel --update
</syntaxhighlight>
</syntaxhighlight>
For more information on channels, see the main [[Channel branches]] page.


=== Rebuilding the system after updating channels ===
=== Rebuilding the system after updating channels ===