From 5b208b42b2f2a364735723510bd12899770c9dda Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Mon, 7 Feb 2022 07:41:45 +0100 Subject: [PATCH] docs: section how to update system --- docs/usage.adoc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/usage.adoc b/docs/usage.adoc index 52584251e..26b9eee78 100644 --- a/docs/usage.adoc +++ b/docs/usage.adoc @@ -228,3 +228,18 @@ in your system configuration and ---- 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 +----