From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id yP4BDxMywmXuPQAA62LTzQ:P1 (envelope-from ) for ; Tue, 06 Feb 2024 14:20:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id yP4BDxMywmXuPQAA62LTzQ (envelope-from ) for ; Tue, 06 Feb 2024 14:20:19 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zancanaro.id.au header.s=k1 header.b="DM+y/DMT"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=zancanaro.id.au (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707225619; a=rsa-sha256; cv=none; b=sOnS0hFfp1vOQCbMxde+2f7qTHJPZxw6ekVCFI20PxfYb13qPHsFKzKjVDyXDEqIlAq9uv C3luK6RF5QjsPaVj9bHGaYRydRwuNhsT0JWP+8jgfIwWjXnozfGs8AwdDk2k+fTmLoCw+C HTGeisY32+t6dIG5uSrZ+wx8KJQUNHhnE05vGrYIqPvF4yCfEfTicb0zBJ94Jb5rtKU4lp JVOghoD/oRY+Mgyl6uYzWam0a/m0PrvNZLWGsW92Ib0nVlHcWOhkdMQ2iWGQwWiRuqjgr7 5osZpsqaKfzHQOV2I+L0pm+mwJ+2VL0REbPib4UVH1GgkNRgBsQrmbVCvyCBOA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zancanaro.id.au header.s=k1 header.b="DM+y/DMT"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=zancanaro.id.au (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707225619; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Gmi41Vc7DjpVGk9PzHma20v/O9Ikc0R71jAXIYnmJME=; b=ThtlEczOsztZ6UMZAmDpa9tl7MwoeTg39FbS01xXkGvLCvzHo3KCMgUffGKSW9i4MxE67C 7m3jVqIaXLbTdydMDNtVzPOYIFW9CxtqH/cUZD6tHWv8cXILyZEKGJbQAw1Eo26ynA3CI8 jY14eTRmNs/G6DkMTtKmaEjBnkkBWmixFHgs2Dw2i6++G+hMxcYKi6pY7cAEMpyZmT5for cYZOlxyRZ88MR8+Fkq29l6ZH9b5Y0x+waVh7DBPwbuvmlwtq4paszgrfBXVSHfd/ot/dHW o5/m8fcrkrVUgBsaeZehHqsAOa6fpSGF+Rf5QNnIYcvOvw1vm3yK5UiR3jnWXw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DBEE6C78D for ; Tue, 6 Feb 2024 14:20:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rXLMn-0003ma-AK; Tue, 06 Feb 2024 08:20:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rXLMb-0003ll-8F for guix-patches@gnu.org; Tue, 06 Feb 2024 08:19:51 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rXLMa-000643-WF for guix-patches@gnu.org; Tue, 06 Feb 2024 08:19:49 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rXLMo-0007hC-4j for guix-patches@gnu.org; Tue, 06 Feb 2024 08:20:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68950] [PATCH] doc: Document required setup steps for Nix service. Resent-From: Carlo Zancanaro Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 06 Feb 2024 13:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68950 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68950@debbugs.gnu.org Cc: christian.miller@dadoes.de X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170722556729527 (code B ref -1); Tue, 06 Feb 2024 13:20:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Feb 2024 13:19:27 +0000 Received: from localhost ([127.0.0.1]:53416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXLMF-0007g9-03 for submit@debbugs.gnu.org; Tue, 06 Feb 2024 08:19:27 -0500 Received: from lists.gnu.org ([2001:470:142::17]:46974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXLMD-0007fv-MH for submit@debbugs.gnu.org; Tue, 06 Feb 2024 08:19:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rXLLu-0003cX-LN for guix-patches@gnu.org; Tue, 06 Feb 2024 08:19:06 -0500 Received: from voltorb.zancanaro.id.au ([45.77.50.64]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rXLLr-0005wa-QK for guix-patches@gnu.org; Tue, 06 Feb 2024 08:19:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=k1; bh=Gmi41Vc7DjpVGk9 PzHma20v/O9Ikc0R71jAXIYnmJME=; h=references:in-reply-to:date:subject: cc:to:from; d=zancanaro.id.au; b=DM+y/DMTe/AOyFsb13/XcXx816YG0vIOo65v8 D+Xzl/ySFMFGjo3966YHujOGjy1n4QnULhH520K6r9n0jVgL/4nX9ngZ+DAEw4XHuAeI89 iXwP0njsVqrMgfZMyIbVyL33sqeaKCBUbqwsxfdZd+5MP/UY7Taphy9xonTRxNfE= Received: by voltorb.zancanaro.id.au (OpenSMTPD) with ESMTPSA id 7c34336a (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 6 Feb 2024 13:18:56 +0000 (UTC) From: Carlo Zancanaro Date: Wed, 7 Feb 2024 00:18:49 +1100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <87y1c080bq.fsf@dadoes.de> References: <87y1c080bq.fsf@dadoes.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=45.77.50.64; envelope-from=carlo@zancanaro.id.au; helo=voltorb.zancanaro.id.au X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -4.07 X-Migadu-Queue-Id: DBEE6C78D X-Migadu-Spam-Score: -4.07 X-TUID: CB5nwFxpTPwc * 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