From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yoshinori Arai Subject: Re: My second impression for GuixSd Date: Tue, 22 Jan 2019 11:59:11 +0900 Message-ID: <20190122025911.3a3tpym352m6gkkk@WaraToNora> References: <20190121021951.wdehqh2g5opbpsek@WaraToNora> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:50695) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1glmN0-00069p-Uy for help-guix@gnu.org; Mon, 21 Jan 2019 22:04:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1glmHZ-0004kU-Ir for help-guix@gnu.org; Mon, 21 Jan 2019 21:59:22 -0500 Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]:35557) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1glmHZ-0004k9-Ay for help-guix@gnu.org; Mon, 21 Jan 2019 21:59:21 -0500 Received: by mail-pg1-x534.google.com with SMTP id s198so10348087pgs.2 for ; Mon, 21 Jan 2019 18:59:20 -0800 (PST) Content-Disposition: inline In-Reply-To: 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: =?utf-8?B?R8OhYm9y?= Boskovits Cc: help-guix Thank you for your reply, On Mon, Jan 21, 2019 at 09:49:41AM +0100, Gábor Boskovits wrote: > Hello, > > Yoshinori Arai ezt írta (időpont: 2019. jan. > 21., H, 3:20): > > > > Hello, > > > > I have finished system reconfigure successfully at second time. I think what > > 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, webbrowser, > > 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=/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. > I think it's need several trial to get useful system configuration. The availability of system roll back will get after got the useful system configuration. I know it's no long time to reconfigure the system. > > 3. Can I make %custom-services inherited from %desktop-service like as package? > > 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-Configuration-System > > > > > Best regard. > > I understand it's easy to add or delete item of service from service list. I think just it'll be convenient if one can add system service or system wide application without reconfiguration.