summary refs log tree commit diff
path: root/modules/installer/cd-dvd/installation-cd-graphical.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2011-11-08 16:17:37 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2011-11-08 16:17:37 +0000
commit295dafed8ac05b6e81203d91cd7628d555ae567c (patch)
treef09541ff89f49cd989eb9162ec9b75928de19ed3 /modules/installer/cd-dvd/installation-cd-graphical.nix
parent1cfbae6ed409af86d03a1e3160dbcee6aa37476f (diff)
downloadnixpkgs-295dafed8ac05b6e81203d91cd7628d555ae567c.tar
nixpkgs-295dafed8ac05b6e81203d91cd7628d555ae567c.tar.gz
nixpkgs-295dafed8ac05b6e81203d91cd7628d555ae567c.tar.bz2
nixpkgs-295dafed8ac05b6e81203d91cd7628d555ae567c.tar.lz
nixpkgs-295dafed8ac05b6e81203d91cd7628d555ae567c.tar.xz
nixpkgs-295dafed8ac05b6e81203d91cd7628d555ae567c.tar.zst
nixpkgs-295dafed8ac05b6e81203d91cd7628d555ae567c.zip
* 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
Diffstat (limited to 'modules/installer/cd-dvd/installation-cd-graphical.nix')
-rw-r--r--modules/installer/cd-dvd/installation-cd-graphical.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/installer/cd-dvd/installation-cd-graphical.nix b/modules/installer/cd-dvd/installation-cd-graphical.nix
index aa49c8e9848..6b40c34968a 100644
--- a/modules/installer/cd-dvd/installation-cd-graphical.nix
+++ b/modules/installer/cd-dvd/installation-cd-graphical.nix
@@ -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;
 }