Re: An idea regarding Guix Profiles

2021-01-28 Thread Raghav Gururajan
Hello Guix! I just had this crazy idea. Currently, we can create multiple profiles at user-level. What if we could bring the 'guix profiles' concept to system-level? At user-level, user can choose which profile to work on. Like that it would be cool to select which profile to boot. Though

Re: An idea regarding Guix Profiles

2021-01-28 Thread Raghav Gururajan
Hello Guix! I just had this crazy idea. Currently, we can create multiple profiles at user-level. What if we could bring the 'guix profiles' concept to system-level? At user-level, user can choose which profile to work on. Like that it would be cool to select which profile to boot. Though

Re: An idea regarding Guix Profiles

2021-01-28 Thread Nicolò Balzarotti
Raghav Gururajan writes: > Hello Guix! > > At user-level, user can choose which profile to work on. Like that it > would be cool to select which profile to boot. If I understand this correctly, what you want is something similar to NixOS' --profile-name [1], is that correct? When I used it bac

Re: An idea regarding Guix Profiles

2021-01-28 Thread Leo Prikler
Hello Raghav, looking at the way you phrased this in IRC, I just found out, that I misunderstood your mail. Basically, what you need to do to achieve something like that with Guix currently, would be to keep two (or more) config.scms and reconfigure each one after guix pull in a fixed order. The

Re: An idea regarding Guix Profiles

2021-01-28 Thread Maxime Devos
Hi RG, > At user-level, user can choose which profile to work on. Like that it > would be cool to select which profile to boot. This already possible in some form: when booting, I can (optionally) select an older system generation to boot (at least in GRUB). The question is, I guess, would it b

Re: An idea regarding Guix Profiles

2021-01-28 Thread Pierre Neidhardt
Hi Raghav, I find the idea very attractive. At first, I thought that GRUB menu entries would be limiting, but then I realized that GRUB supports submenus! So all we need is one submenu per profile, right? Cheers! -- Pierre Neidhardt https://ambrevar.xyz/ signature.asc Description: PGP signa

An idea regarding Guix Profiles

2021-01-28 Thread Leo Prikler
Hello Raghav, I had a similar idea a little more than a year ago:< https://lists.gnu.org/archive/html/guix-devel/2019-12/msg00358.html> See also < https://lists.gnu.org/archive/html/guix-devel/2020-01/msg00083.html> for the discussion it spawned. While the default profile would stay active at all

An idea regarding Guix Profiles

2021-01-27 Thread Raghav Gururajan
Hello Guix! I just had this crazy idea. Currently, we can create multiple profiles at user-level. What if we could bring the 'guix profiles' concept to system-level? At user-level, user can choose which profile to work on. Like that it would be cool to select which profile to boot. Thought