* [bug#68950] [PATCH] doc: Document required setup steps for Nix service.
[not found] <87y1c080bq.fsf@dadoes.de>
@ 2024-02-06 13:18 ` Carlo Zancanaro
2024-02-27 10:24 ` bug#68950: " Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Carlo Zancanaro @ 2024-02-06 13:18 UTC (permalink / raw)
To: 68950; +Cc: christian.miller
* doc/guix.texi (Nix service): Add specific channel setup commands, add
commands to create profile directory.
---
doc/guix.texi | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index b76df868f8..0ac245a376 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -40313,16 +40313,31 @@ Miscellaneous Services
@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
base-commit: a4464bd0975c811f18af98f69032b29bddda5b81
--
2.41.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#68950: [PATCH] doc: Document required setup steps for Nix service.
2024-02-06 13:18 ` [bug#68950] [PATCH] doc: Document required setup steps for Nix service Carlo Zancanaro
@ 2024-02-27 10:24 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2024-02-27 10:24 UTC (permalink / raw)
To: Carlo Zancanaro; +Cc: 68950-done, christian.miller
Carlo Zancanaro <carlo@zancanaro.id.au> skribis:
> * doc/guix.texi (Nix service): Add specific channel setup commands, add
> commands to create profile directory.
Applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-27 10:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <87y1c080bq.fsf@dadoes.de>
2024-02-06 13:18 ` [bug#68950] [PATCH] doc: Document required setup steps for Nix service Carlo Zancanaro
2024-02-27 10:24 ` bug#68950: " Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).