Updating LiveDVD with X expressions

svn path=/nixos/trunk/; revision=14251
This commit is contained in:
Michael Raskin 2009-02-25 21:15:35 +00:00
parent d01a495de4
commit f767f1bea8
3 changed files with 40 additions and 41 deletions

View File

@ -22,7 +22,7 @@ let
in in
(isoFun (rec { (isoFun (rec {
inherit platform; inherit platform;
lib = (import ../pkgs/lib); lib = (import ../../pkgs/lib);
networkNixpkgs = ""; networkNixpkgs = "";
manualEnabled = true; manualEnabled = true;
@ -171,40 +171,40 @@ in
configList = configuration : [ configList = configuration : [
{ {
suffix = "X-vesa"; suffix = "X-vesa";
configuration = (configuration // configuration = args: ((configuration args) //
{ {
boot=configuration.boot // {configurationName = "X with vesa";}; boot=(configuration args).boot // {configurationName = "X with vesa";};
services = configuration.services // { services = (configuration args).services // {
xserver = xConfiguration // {videoDriver = "vesa";}; xserver = xConfiguration // {videoDriver = "vesa";};
}; };
}); });
} }
{ {
suffix = "X-Intel"; suffix = "X-Intel";
configuration = (configuration // configuration = args: ((configuration args) //
{ {
boot=configuration.boot // {configurationName = "X with Intel graphic card";}; boot=(configuration args).boot // {configurationName = "X with Intel graphic card";};
services = configuration.services // { services = (configuration args).services // {
xserver = xConfiguration // {videoDriver = "intel"; driSupport = true;}; xserver = xConfiguration // {videoDriver = "intel"; driSupport = true;};
}; };
}); });
} }
{ {
suffix = "X-ATI"; suffix = "X-ATI";
configuration = (configuration // configuration = args: ((configuration args) //
{ {
boot=configuration.boot // {configurationName = "X with ATI graphic card";}; boot=(configuration args).boot // {configurationName = "X with ATI graphic card";};
services = configuration.services // { services = (configuration args).services // {
xserver = xConfiguration // {videoDriver = "ati"; driSupport = true;}; xserver = xConfiguration // {videoDriver = "ati"; driSupport = true;};
}; };
}); });
} }
{ {
suffix = "X-NVIDIA"; suffix = "X-NVIDIA";
configuration = (configuration // configuration = args: ((configuration args) //
{ {
boot=configuration.boot // {configurationName = "X with NVIDIA graphic card";}; boot=(configuration args).boot // {configurationName = "X with NVIDIA graphic card";};
services = configuration.services // { services = (configuration args).services // {
xserver = xConfiguration // {videoDriver = "nvidia"; driSupport = true;}; xserver = xConfiguration // {videoDriver = "nvidia"; driSupport = true;};
}; };
}); });

View File

@ -18,7 +18,6 @@ let
windowManager = "twm"; windowManager = "twm";
tty = "9"; tty = "9";
}; };
pkgs
in in
(isoFun { (isoFun {
@ -80,40 +79,40 @@ in
configList = configuration : [ configList = configuration : [
{ {
suffix = "X-vesa"; suffix = "X-vesa";
configuration = (configuration // configuration = args: ((configuration args) //
{ {
boot=configuration.boot // {configurationName = "X with vesa";}; boot=(configuration args).boot // {configurationName = "X with vesa";};
services = configuration.services // { services = (configuration args).services // {
xserver = xConfiguration // {videoDriver = "vesa";}; xserver = xConfiguration // {videoDriver = "vesa";};
}; };
}); });
} }
{ {
suffix = "X-Intel"; suffix = "X-Intel";
configuration = (configuration // configuration = args: ((configuration args) //
{ {
boot=configuration.boot // {configurationName = "X with Intel graphic card";}; boot=(configuration args).boot // {configurationName = "X with Intel graphic card";};
services = configuration.services // { services = (configuration args).services // {
xserver = xConfiguration // {videoDriver = "intel"; driSupport = true;}; xserver = xConfiguration // {videoDriver = "intel"; driSupport = true;};
}; };
}); });
} }
{ {
suffix = "X-ATI"; suffix = "X-ATI";
configuration = (configuration // configuration = args: ((configuration args) //
{ {
boot=configuration.boot // {configurationName = "X with ATI graphic card";}; boot=(configuration args).boot // {configurationName = "X with ATI graphic card";};
services = configuration.services // { services = (configuration args).services // {
xserver = xConfiguration // {videoDriver = "ati"; driSupport = true;}; xserver = xConfiguration // {videoDriver = "ati"; driSupport = true;};
}; };
}); });
} }
{ {
suffix = "X-NVIDIA"; suffix = "X-NVIDIA";
configuration = (configuration // configuration = args: ((configuration args) //
{ {
boot=configuration.boot // {configurationName = "X with NVIDIA graphic card";}; boot=(configuration args).boot // {configurationName = "X with NVIDIA graphic card";};
services = configuration.services // { services = (configuration args).services // {
xserver = xConfiguration // {videoDriver = "nvidia"; driSupport = true;}; xserver = xConfiguration // {videoDriver = "nvidia"; driSupport = true;};
}; };
}); });

View File

@ -20,9 +20,9 @@ let
}; };
in in
(isoFun { (isoFun (rec {
inherit platform; inherit platform;
lib = (import ../pkgs/lib); lib = (import ../../pkgs/lib);
networkNixpkgs = ""; networkNixpkgs = "";
manualEnabled = true; manualEnabled = true;
@ -182,43 +182,43 @@ in
configList = configuration : [ configList = configuration : [
{ {
suffix = "X-vesa"; suffix = "X-vesa";
configuration = (configuration // configuration = args: ((configuration args) //
{ {
boot=configuration.boot // {configurationName = "X with vesa";}; boot=(configuration args).boot // {configurationName = "X with vesa";};
services = configuration.services // { services = (configuration args).services // {
xserver = xConfiguration // {videoDriver = "vesa";}; xserver = xConfiguration // {videoDriver = "vesa";};
}; };
}); });
} }
{ {
suffix = "X-Intel"; suffix = "X-Intel";
configuration = (configuration // configuration = args: ((configuration args) //
{ {
boot=configuration.boot // {configurationName = "X with Intel graphic card";}; boot=(configuration args).boot // {configurationName = "X with Intel graphic card";};
services = configuration.services // { services = (configuration args).services // {
xserver = xConfiguration // {videoDriver = "intel"; driSupport = true;}; xserver = xConfiguration // {videoDriver = "intel"; driSupport = true;};
}; };
}); });
} }
{ {
suffix = "X-ATI"; suffix = "X-ATI";
configuration = (configuration // configuration = args: ((configuration args) //
{ {
boot=configuration.boot // {configurationName = "X with ATI graphic card";}; boot=(configuration args).boot // {configurationName = "X with ATI graphic card";};
services = configuration.services // { services = (configuration args).services // {
xserver = xConfiguration // {videoDriver = "ati"; driSupport = true;}; xserver = xConfiguration // {videoDriver = "ati"; driSupport = true;};
}; };
}); });
} }
{ {
suffix = "X-NVIDIA"; suffix = "X-NVIDIA";
configuration = (configuration // configuration = args: ((configuration args) //
{ {
boot=configuration.boot // {configurationName = "X with NVIDIA graphic card";}; boot=(configuration args).boot // {configurationName = "X with NVIDIA graphic card";};
services = configuration.services // { services = (configuration args).services // {
xserver = xConfiguration // {videoDriver = "nvidia"; driSupport = true;}; xserver = xConfiguration // {videoDriver = "nvidia"; driSupport = true;};
}; };
}); });
} }
]; ];
}).rescueCD })).rescueCD