From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id QK9vKCHTz1+HZQAA0tVLHw (envelope-from ) for ; Tue, 08 Dec 2020 19:25:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id QHE+JCHTz1+mBQAA1q6Kng (envelope-from ) for ; Tue, 08 Dec 2020 19:25:21 +0000 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 0D12394030E for ; Tue, 8 Dec 2020 19:25:20 +0000 (UTC) Received: from localhost ([::1]:40380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmibu-0005hl-CS for larch@yhetil.org; Tue, 08 Dec 2020 14:25:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmi0M-0003G5-MI for help-guix@gnu.org; Tue, 08 Dec 2020 13:46:30 -0500 Received: from tobias.gr ([2a02:c205:2020:6054::1]:44686) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmi0K-00030L-LG for help-guix@gnu.org; Tue, 08 Dec 2020 13:46:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=iza6Sx1CItptOacK0weiq1yRmo3AUSAVbuDAL+iddyM=; h=date:in-reply-to: references:subject:cc:to:from; b=dfNIT5r6zAnyuK06UeYvZs7Cj/Eg0OB4VHTXN 8tN84UQHsSdvz2D2Um1QqYfWrc+ov1imPiSqdFK5ROCsX7LBoW7rjjiM3lXgpcDlQY042n NZ5zH/FGrFmVyMPPDW2R2azWcUAg344IgHI9Lns/jvK8uxCEpDVMTIOK6IzHnKzhMOtkhM ocNMB7NK3O0UDzLIMN67gR8Y/ZcfRp6f3RPmgWFVREji8ULvaYCnW7ILnAhL+MGxDSahUM Secs30lEfBEY52lGlrKWYLRS4YsJaSktwrtn97FMb8TqIAIXuPSSVPS64QlkN7774CfHax s5Z4lF6KREXmvfEXtm+v6JBPw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 3bd9178a (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Tue, 8 Dec 2020 18:46:40 +0000 (UTC) BIMI-Selector: v=BIMI1; s=default; From: Tobias Geerinckx-Rice To: Roy Lemmon Cc: Pierre Neidhardt , help-guix Subject: Re: NAS drive References: <87blf4wr0f.fsf@ambrevar.xyz> <878sa8jq91.fsf@nckx> <875z5cjowk.fsf@nckx> In-reply-to: Date: Tue, 08 Dec 2020 19:46:22 +0100 Message-ID: <87zh2oi1a9.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr 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_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.61 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=dfNIT5r6; dmarc=pass (policy=reject) header.from=tobias.gr; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 0D12394030E X-Spam-Score: -4.61 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: Jq10F1KxlFl4 --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Roy Lemmon =E5=86=99=E9=81=93=EF=BC=9A > Sorry but it's been a long day ... Here too :-) > I have to specify the nfs package don't I ? The =E2=80=98NFS package=E2=80=99 in (file-append nfs-utils "/sbin/mount.nfs") is nfs-utils, which is a variable defined in the (gnu packages=20 nfs) Guile module. As you note, modules need to be imported first, which is what > (use-modules (gnu packages nfs)) > (use-service-modules desktop networking ssh xorg mail) does. This is the correct variant for your use case: you care=20 only about the package which provides mount.nfs to clients, not=20 about the server which is what (gnu services nfs) provides. Aside: the above snippet is completely equivalent to both: (use-modules (gnu packages nfs)) (use-modules (gnu services desktop) (gnu services networking) (gnu services ssh) (gnu services xorg) (gnu services mail)) and (use-package-modules nfs) (use-service-modules desktop networking ssh xorg mail) USE-{PACKAGE,SERVICE}-MODULES is Guix-specific syntactic sugar=20 that saves a lot of space and typing when you're importing many=20 package & service modules, as most people do. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCX8/J/g0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15M2kBAOpSn8E1mzZlESSjZNtDxfGySTMBE6p/OFI+pd6M GjWAAQDiA0JuC7KAwxNpnPm7FYQHhS6eRLTjdQ0Fm2LvhGKsAQ== =SiaE -----END PGP SIGNATURE----- --=-=-=--