guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/06: doc: Document required setup steps for Nix service.


From: guix-commits
Subject: 03/06: doc: Document required setup steps for Nix service.
Date: Tue, 27 Feb 2024 05:52:07 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit e64617c5fab2bec558ae6333cdbdcd62cac8ad1f
Author: Carlo Zancanaro <carlo@zancanaro.id.au>
AuthorDate: Wed Feb 7 00:18:49 2024 +1100

    doc: Document required setup steps for Nix service.
    
    * doc/guix.texi (Nix service): Add specific channel setup commands, add
    commands to create profile directory.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 doc/guix.texi | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 671cdab6f8..f6476e0d81 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -40511,16 +40511,31 @@ After @command{guix system reconfigure} configure Nix 
for your user:
 
 @itemize
 @item Add a Nix channel and update it.  See
-@url{https://nixos.org/nix/manual/, Nix Package Manager Guide}.
+@url{https://nixos.wiki/wiki/Nix_channels, Nix channels} for more
+information about the available channels.  If you would like to use the
+unstable Nix channel you can do this by running:
+
+@example
+$ nix-channel --add https://nixos.org/channels/nixpkgs-unstable
+$ nix-channel --update
+@end example
+
+@item Create your Nix profile directory:
+
+@example
+$ sudo mkdir -p /nix/var/nix/profiles/per-user/$USER
+$ sudo chown $USER:root /nix/var/nix/profiles/per-user/$USER
+@end example
 
 @item Create a symlink to your profile and activate Nix profile:
-@end itemize
 
 @example
 $ ln -s "/nix/var/nix/profiles/per-user/$USER/profile" ~/.nix-profile
 $ source /run/current-system/profile/etc/profile.d/nix.sh
 @end example
 
+@end itemize
+
 @end defvar
 
 @deftp {Data Type} nix-configuration



reply via email to

[Prev in Thread] Current Thread [Next in Thread]