summaryrefslogtreecommitdiffstats
path: root/nixos/modules/profiles/graphical.nix
blob: 15ea08e6caae14408c93760ed42437a58c5ddd8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# This module defines a NixOS configuration with the Plasma 6 desktop.
# It's used by the graphical installation CD.

{ pkgs, ... }:

{
  services.xserver = {
    enable = true;
    desktopManager.plasma6.enable = true;
  };

  services = {
    displayManager.plasma-login-manager.enable = true;
    libinput.enable = true; # for touchpad support on many laptops
  };

  environment.systemPackages = [
    pkgs.mesa-demos
    pkgs.firefox
  ];
}