* Fix auto-login.
svn path=/nixos/trunk/; revision=30341
This commit is contained in:
parent
7d68a36851
commit
06843a45ef
1 changed files with 12 additions and 0 deletions
|
@ -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=""
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue