nixpkgs/nixos/modules/profiles/graphical.nix
2024-04-17 23:34:07 +02:00

21 lines
498 B
Nix

# This module defines a NixOS configuration with the Plasma 5 desktop.
# It's used by the graphical installation CD.
{ pkgs, ... }:
{
services.xserver = {
enable = true;
desktopManager.plasma5.enable = true;
};
services = {
displayManager.sddm.enable = true;
libinput.enable = true; # for touchpad support on many laptops
};
# Enable sound in virtualbox appliances.
hardware.pulseaudio.enable = true;
environment.systemPackages = [ pkgs.glxinfo pkgs.firefox ];
}