2009-06-11 13:51:27 +04:00
|
|
|
# This module defines a NixOS installation CD that contains X11 and
|
|
|
|
# KDE 4.
|
|
|
|
|
2011-01-21 16:38:30 +03:00
|
|
|
{ config, pkgs, ... }:
|
2009-06-11 13:51:27 +04:00
|
|
|
|
2011-11-08 23:02:51 +04:00
|
|
|
with pkgs.lib;
|
|
|
|
|
2009-06-11 13:51:27 +04:00
|
|
|
{
|
2010-09-25 13:32:57 +04:00
|
|
|
require = [
|
|
|
|
./installation-cd-base.nix
|
|
|
|
../../profiles/graphical.nix
|
|
|
|
];
|
2011-01-21 16:38:30 +03:00
|
|
|
|
2011-02-23 22:11:32 +03:00
|
|
|
# Provide wicd for easy wireless configuration.
|
2012-04-10 17:09:56 +04:00
|
|
|
#networking.wicd.enable = true;
|
2011-11-01 01:08:22 +04:00
|
|
|
|
|
|
|
# KDE complains if power management is disabled (to be precise, if
|
|
|
|
# there is no power management backend such as upower).
|
|
|
|
powerManagement.enable = true;
|
2011-11-08 20:17:37 +04:00
|
|
|
|
|
|
|
# Don't start the X server by default.
|
|
|
|
services.xserver.autorun = mkForce false;
|
2011-11-08 23:02:51 +04:00
|
|
|
|
|
|
|
# Auto-login as root.
|
|
|
|
services.xserver.displayManager.kdm.extraConfig =
|
|
|
|
''
|
|
|
|
[X-*-Core]
|
|
|
|
AllowRootLogin=true
|
|
|
|
AutoLoginEnable=true
|
|
|
|
AutoLoginUser=root
|
|
|
|
AutoLoginPass=""
|
|
|
|
'';
|
2009-06-11 13:51:27 +04:00
|
|
|
}
|