From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= Subject: Re: My second impression for GuixSd Date: Mon, 21 Jan 2019 09:49:41 +0100 Message-ID: References: <20190121021951.wdehqh2g5opbpsek@WaraToNora> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:47680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1glVJc-0005bA-T3 for help-guix@gnu.org; Mon, 21 Jan 2019 03:52:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1glVHF-0004iY-P0 for help-guix@gnu.org; Mon, 21 Jan 2019 03:49:54 -0500 Received: from mail-io1-xd32.google.com ([2607:f8b0:4864:20::d32]:39332) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1glVHF-0004iA-HF for help-guix@gnu.org; Mon, 21 Jan 2019 03:49:53 -0500 Received: by mail-io1-xd32.google.com with SMTP id k7so15798897iob.6 for ; Mon, 21 Jan 2019 00:49:53 -0800 (PST) In-Reply-To: <20190121021951.wdehqh2g5opbpsek@WaraToNora> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Yoshinori Arai Cc: help-guix Hello, Yoshinori Arai ezt =C3=ADrta (id=C5=91pont: 2019. ja= n. 21., H, 3:20): > > Hello, > > I have finished system reconfigure successfully at second time. I think w= hat > configuration is better for who can't install package by self at first or= can't > use command in console and their PC is old, no enough memory... > > So my configuration has many packages for system wide, all locales, webbr= owser, > input method etc. > > I have some question in operating-system configuration, > > 1. How can I specify the menu-entry for no initrd? I tried as follows, > > (menu-entry (label "Wara GNU/Linux lfs-8.3") > (linux "(hd0,3)/boot/vmlinuz-4.19.9-libre-wara-8.3") > (linux-arguments '("root=3D/dev/sda3 ro")) > (initrd "")) > > It's can be used but grub show warning: no file. > > 2. How can I add system service without system reconfiguration? > You can't, but such a reconfigure should not take long. You can even build the system in advance, and it takes even less time. This way guixsd can guarantee, that you have a generation for all your changes, and can roll back. If you have not guix pulled between to reconfigures, then they only do the needed package installations and configurations. Usually reboot is not needed either in these cases. > 3. Can I make %custom-services inherited from %desktop-service like as pa= ckage? > I know can delete or add service. > > (define %custom-services > (inherit %desktop-services) > (cons* ....)) > %desktop-services is just a list, you can simply cons* your nem services, and use 'remove' to remove a service, along the lines of: (remove (lambda (service) (eq? (service-kind service) avahi-service-type)) %desktop-services) You need srfi-1 to make this work. This is documented in the manual here: https://guix.info/manual/en/Using-the-Configuration-System.html#Using-the-C= onfiguration-System > Best regard. >