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 21:56:59 +01:00
|
|
|
{ pkgs, ... }:
|
2010-09-25 10:32:57 +01:00
|
|
|
|
|
|
|
{
|
|
|
|
services.xserver = {
|
|
|
|
enable = true;
|
2017-02-10 02:25:03 +00:00
|
|
|
displayManager.sddm.enable = true;
|
2018-09-24 20:39:57 +01:00
|
|
|
desktopManager.plasma5 = {
|
|
|
|
enable = true;
|
|
|
|
enableQt4Support = false;
|
|
|
|
};
|
2017-08-31 01:25:11 +01:00
|
|
|
libinput.enable = true; # for touchpad support on many laptops
|
2010-09-25 10:32:57 +01: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 05:33:16 +01:00
|
|
|
environment.systemPackages = [ pkgs.glxinfo pkgs.firefox ];
|
2010-09-25 10:32:57 +01:00
|
|
|
}
|