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