2017-03-03 14:27:41 +01:00
|
|
|
# This module defines a NixOS configuration with the Plasma 5 desktop.
|
|
|
|
# It's used by the graphical installation CD.
|
2011-11-08 17:17:37 +01:00
|
|
|
|
2018-07-20 22:56:59 +02:00
|
|
|
{ pkgs, ... }:
|
2010-09-25 11:32:57 +02:00
|
|
|
|
|
|
|
{
|
|
|
|
services.xserver = {
|
|
|
|
enable = true;
|
2017-02-10 03:25:03 +01:00
|
|
|
displayManager.sddm.enable = true;
|
2018-09-24 21:39:57 +02:00
|
|
|
desktopManager.plasma5 = {
|
|
|
|
enable = true;
|
|
|
|
enableQt4Support = false;
|
|
|
|
};
|
2017-08-31 02:25:11 +02:00
|
|
|
libinput.enable = true; # for touchpad support on many laptops
|
2010-09-25 11:32:57 +02:00
|
|
|
};
|
2011-11-08 20:18:34 +01:00
|
|
|
|
2019-02-22 07:23:59 +01:00
|
|
|
# Enable sound in virtualbox appliances.
|
|
|
|
hardware.pulseaudio.enable = true;
|
|
|
|
hardware.pulseaudio.systemWide = true; # Needed since we run plasma as root.
|
|
|
|
|
2018-09-23 06:33:16 +02:00
|
|
|
environment.systemPackages = [ pkgs.glxinfo pkgs.firefox ];
|
2010-09-25 11:32:57 +02:00
|
|
|
}
|