* Refactoring: graphical.nix no longer includes base.nix so that it

just does what it says (enable a "graphical" configuration).
* Enable KDM in the graphical CD.  The "auto" display manager doesn't
  properly handle shutdowns etc.

svn path=/nixos/trunk/; revision=30331
This commit is contained in:
Eelco Dolstra 2011-11-08 16:17:37 +00:00
parent 1cfbae6ed4
commit 295dafed8a
4 changed files with 9 additions and 11 deletions

View File

@ -15,4 +15,7 @@
# KDE complains if power management is disabled (to be precise, if
# there is no power management backend such as upower).
powerManagement.enable = true;
# Don't start the X server by default.
services.xserver.autorun = mkForce false;
}

View File

@ -1,3 +1,6 @@
# This module defines the software packages included in the "minimal"
# installation CD. It might be useful elsewhere.
{ config, pkgs, ... }:
{

View File

@ -1,16 +1,12 @@
# This module defines a NixOS configuration that contains X11 and
# KDE 4.
# KDE 4. It's used by the graphical installation CD.
{ config, pkgs, ... }:
{
require = [ ./base.nix ];
services.xserver = {
enable = true;
autorun = true;
defaultDepth = 24;
displayManager.auto.enable = true;
desktopManager.default = "kde4";
displayManager.kdm.enable = true;
desktopManager.kde4.enable = true;
};
}

View File

@ -137,10 +137,6 @@ in
''}
'';
# Force the xserver autorun to false.
services.xserver.autorun = mkForce false;
services.xserver.defaultDepth = mkForce 16;
# Some more help text.
services.mingetty.helpLine =
''