forked from mirrors/nixpkgs
* Fix auto-login.
svn path=/nixos/trunk/; revision=30341
This commit is contained in:
parent
7d68a36851
commit
06843a45ef
|
@ -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