all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* My second impression for GuixSd
@ 2019-01-21  2:19 Yoshinori Arai
  2019-01-21  8:49 ` Gábor Boskovits
  0 siblings, 1 reply; 3+ messages in thread
From: Yoshinori Arai @ 2019-01-21  2:19 UTC (permalink / raw)
  To: help-guix

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?

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* ....))

Best regard.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: My second impression for GuixSd
  2019-01-21  2:19 My second impression for GuixSd Yoshinori Arai
@ 2019-01-21  8:49 ` Gábor Boskovits
  2019-01-22  2:59   ` Yoshinori Arai
  0 siblings, 1 reply; 3+ messages in thread
From: Gábor Boskovits @ 2019-01-21  8:49 UTC (permalink / raw)
  To: Yoshinori Arai; +Cc: help-guix

Hello,

Yoshinori Arai <kumagusu08@gmail.com> 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.

> 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.
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: My second impression for GuixSd
  2019-01-21  8:49 ` Gábor Boskovits
@ 2019-01-22  2:59   ` Yoshinori Arai
  0 siblings, 0 replies; 3+ messages in thread
From: Yoshinori Arai @ 2019-01-22  2:59 UTC (permalink / raw)
  To: Gábor 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 <kumagusu08@gmail.com> 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-22  3:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-21  2:19 My second impression for GuixSd Yoshinori Arai
2019-01-21  8:49 ` Gábor Boskovits
2019-01-22  2:59   ` Yoshinori Arai

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.