Re: [Nix-dev] nested child configurations - was: multiple full systemprofiles

2012-02-09 Thread Marc Weber
Excerpts from Mathijs Kwik's message of Thu Feb 09 08:47:39 +0100 2012: > Nope, that would switch to the main profile (the lean one), dropping > out of x11 and such, when I'm currently in the "desktop" child. > So I do need to just nixos-rebuild boot, then switch to new profile's > child manually.

Re: [Nix-dev] nested child configurations - was: multiple full systemprofiles

2012-02-09 Thread Mathijs Kwik
On Thu, Feb 9, 2012 at 3:51 PM, Florian Friesdorf wrote: > On Thu, 9 Feb 2012 08:47:39 +0100, Mathijs Kwik > wrote: >> But that works for now. >> >> Now I must find a nice workflow on top of it, but the possibility >> itself is very nice :) > > It would be great if you could distill it into a sh

Re: [Nix-dev] nested child configurations - was: multiple full systemprofiles

2012-02-09 Thread Florian Friesdorf
On Thu, 9 Feb 2012 08:47:39 +0100, Mathijs Kwik wrote: > But that works for now. > > Now I must find a nice workflow on top of it, but the possibility > itself is very nice :) It would be great if you could distill it into a short wiki entry. Looking forward to play with that myself. -- Flori

Re: [Nix-dev] nested child configurations - was: multiple full systemprofiles

2012-02-08 Thread Mathijs Kwik
On Thu, Feb 9, 2012 at 8:41 AM, Michael Raskin <7c6f4...@mail.ru> wrote: >>> What you should consider is using /nix/var/nix/profiles/system-*-link >>> If I remember correctly, it is not affected by switches. >>Cool, indeed, that's a better entry point than /var/nix/current-system. >>I can now list

Re: [Nix-dev] nested child configurations - was: multiple full systemprofiles

2012-02-08 Thread Michael Raskin
>> What you should consider is using /nix/var/nix/profiles/system-*-link >> If I remember correctly, it is not affected by switches. >Cool, indeed, that's a better entry point than /var/nix/current-system. >I can now list and switch child profiles easily. So it is not afected. Nice to know, thanks

Re: [Nix-dev] nested child configurations - was: multiple full systemprofiles

2012-02-08 Thread Mathijs Kwik
On Thu, Feb 9, 2012 at 5:45 AM, Michael Raskin <7c6f4...@mail.ru> wrote: >>What I would like: >>- Give child-profiles some link back to their parent. If a real link >>would give cyclic dependency issues, a text file with just the store >>path is probably enough too. > > Unfortunately, this still me

[Nix-dev] nested child configurations - was: multiple full systemprofiles

2012-02-08 Thread Michael Raskin
>What I would like: >- Give child-profiles some link back to their parent. If a real link >would give cyclic dependency issues, a text file with just the store >path is probably enough too. Unfortunately, this still means circular dependency. Store paths mentioned inside store elements always mea