* Fix auto-login.

svn path=/nixos/trunk/; revision=30341
This commit is contained in:
Eelco Dolstra 2011-11-08 19:02:51 +00:00
parent 7d68a36851
commit 06843a45ef

View file

@ -3,6 +3,8 @@
{ config, pkgs, ... }:
with pkgs.lib;
{
require = [
./installation-cd-base.nix
@ -18,4 +20,14 @@
# Don't start the X server by default.
services.xserver.autorun = mkForce false;
# Auto-login as root.
services.xserver.displayManager.kdm.extraConfig =
''
[X-*-Core]
AllowRootLogin=true
AutoLoginEnable=true
AutoLoginUser=root
AutoLoginPass=""
'';
}