2009-06-11 09:51:27 +00:00
|
|
|
# This module defines a NixOS installation CD that contains X11 and
|
|
|
|
# KDE 4.
|
|
|
|
|
2014-04-14 14:26:48 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
2009-06-11 09:51:27 +00:00
|
|
|
|
2014-04-14 14:26:48 +00:00
|
|
|
with lib;
|
2011-11-08 19:02:51 +00:00
|
|
|
|
2009-06-11 09:51:27 +00:00
|
|
|
{
|
2013-09-04 11:05:09 +00:00
|
|
|
imports = [ ./installation-cd-base.nix ../../profiles/graphical.nix ];
|
2011-01-21 13:38:30 +00:00
|
|
|
|
2011-02-23 19:11:32 +00:00
|
|
|
# Provide wicd for easy wireless configuration.
|
2012-04-10 13:09:56 +00:00
|
|
|
#networking.wicd.enable = true;
|
2011-10-31 21:08:22 +00: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 16:17:37 +00:00
|
|
|
|
|
|
|
# Don't start the X server by default.
|
|
|
|
services.xserver.autorun = mkForce false;
|
2011-11-08 19:02:51 +00:00
|
|
|
|
|
|
|
# Auto-login as root.
|
|
|
|
services.xserver.displayManager.kdm.extraConfig =
|
|
|
|
''
|
|
|
|
[X-*-Core]
|
|
|
|
AllowRootLogin=true
|
|
|
|
AutoLoginEnable=true
|
|
|
|
AutoLoginUser=root
|
|
|
|
AutoLoginPass=""
|
|
|
|
'';
|
2009-06-11 09:51:27 +00:00
|
|
|
}
|