mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19:45 +01:00
docs: section how to update system
This commit is contained in:
parent
c859a5265a
commit
5b208b42b2
1 changed files with 15 additions and 0 deletions
|
@ -228,3 +228,18 @@ in your system configuration and
|
||||||
----
|
----
|
||||||
|
|
||||||
in your Home Manager configuration.
|
in your Home Manager configuration.
|
||||||
|
|
||||||
|
[[sec-updating]]
|
||||||
|
=== Updating
|
||||||
|
|
||||||
|
If you have installed Home Manager using the Nix channel method
|
||||||
|
then updating Home Manager is done by first updating the channel.
|
||||||
|
You can then switch to the updated Home Manager environment.
|
||||||
|
|
||||||
|
[source,console]
|
||||||
|
----
|
||||||
|
$ nix-channel --update
|
||||||
|
…
|
||||||
|
unpacking channels...
|
||||||
|
$ home-manager switch
|
||||||
|
----
|
||||||
|
|
Loading…
Reference in a new issue