From 5dadce8770327903cd029fc36cce7617c9c55ffc Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Sun, 5 Apr 2009 19:13:52 +0000 Subject: [PATCH] Adding comment about child configurations svn path=/nixos/trunk/; revision=14889 --- system/system.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/system/system.nix b/system/system.nix index 607195ab0cb..b615c99517c 100644 --- a/system/system.nix +++ b/system/system.nix @@ -404,7 +404,11 @@ rec { pkgs.diffutils pkgs.upstart # for initctl ]; - # !!! wtf does this do??? + # This attribute is responsible for creating boot entries for + # child configuration. They are only (directly) accessible + # when the parent configuration is boot default. For example, + # you can provide an easy way to boot the same configuration + # as you use, but with another kernel children = map (x: ((import ./system.nix) { inherit platform; configuration = x//{boot=((x.boot)//{grubDevice = "";});};}).system)