Re: Services and packages in GuixSD

2015-08-28 Thread Ludovic Courtès
Andy Wingo skribis: > It seems like you want two kinds of reconfigure: one that just adds the > grub entry to make a new system the default on the next boot, and > another kind of reconfigure that also mutates /run/current-system. Does > that make sense? Yes, exactly. Ludo’.

Re: Services and packages in GuixSD

2015-08-26 Thread Andy Wingo
On Wed 26 Aug 2015 12:54, l...@gnu.org (Ludovic Courtès) writes: > Andy Wingo skribis: > >> On Tue 25 Aug 2015 22:36, l...@gnu.org (Ludovic Courtès) writes: >> >>> However, the above means that the >>> reconfigure-but-don’t-switch-until-reboot behavior would no longer be >>> possible. >> >> Not s

Re: Services and packages in GuixSD

2015-08-26 Thread Ludovic Courtès
Andy Wingo skribis: > On Tue 25 Aug 2015 22:36, l...@gnu.org (Ludovic Courtès) writes: > >> However, the above means that the >> reconfigure-but-don’t-switch-until-reboot behavior would no longer be >> possible. > > Not sure what this case is for -- either you want to expose the newly > reconfigu

Re: Services and packages in GuixSD

2015-08-26 Thread Andy Wingo
On Tue 25 Aug 2015 22:36, l...@gnu.org (Ludovic Courtès) writes: > However, the above means that the > reconfigure-but-don’t-switch-until-reboot behavior would no longer be > possible. Not sure what this case is for -- either you want to expose the newly reconfigured apps to the user or you don't

Re: Services and packages in GuixSD

2015-08-25 Thread Ludovic Courtès
Andy Wingo skribis: > On Wed 12 Aug 2015 03:13, 宋文武 writes: > >> Andy Wingo writes: >> >>> it would be nice if the set of selected packages and services were >>> grovelled for dbus files. >> >> IIUC, the packages in profile need to be known by those services. >> I think two ways can do this: >>

Re: Services and packages in GuixSD

2015-08-25 Thread Ludovic Courtès
Andy Wingo skribis: > On Wed 12 Aug 2015 03:13, 宋文武 writes: > >> Andy Wingo writes: >> >>> it would be nice if the set of selected packages and services were >>> grovelled for dbus files. >> >> IIUC, the packages in profile need to be known by those services. >> I think two ways can do this: >>

Re: Services and packages in GuixSD

2015-08-25 Thread Ludovic Courtès
Andy Wingo skribis: > For example this is my current services definition: > > (services > (let ((motd (text-file "motd" " >This is the GNU operating system, welcome!\n\n"))) >(list (console-font-service "tty1") > (console-font-service "tty2") > (

Re: Services and packages in GuixSD

2015-08-12 Thread Andy Wingo
On Wed 12 Aug 2015 03:13, 宋文武 writes: > Andy Wingo writes: > >> it would be nice if the set of selected packages and services were >> grovelled for dbus files. > > IIUC, the packages in profile need to be known by those services. > I think two ways can do this: > 1. Build a configuration file fo

Re: Services and packages in GuixSD

2015-08-11 Thread 宋文武
Andy Wingo writes: > Hi, > > There are a few services whose behavior depends on the set of installed > packages or services, or which should depend on those sets. For example > with %desktop-services specified, udev should be adding rules for upower > and colord, AFAIU. Likewise for dbus: it wo

Services and packages in GuixSD

2015-08-09 Thread Andy Wingo
Hi, There are a few services whose behavior depends on the set of installed packages or services, or which should depend on those sets. For example with %desktop-services specified, udev should be adding rules for upower and colord, AFAIU. Likewise for dbus: it would be nice if the set of select