about summary refs log tree commit diff
path: root/modules/desktop/default.nix
blob: 3ee9fb5352c34d95d77864d59dba63ddcddce243 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{lib, config, pkgs, ...}:
with lib;

{
  options.sys.graphics = {
    desktopProtocols = mkOption {
      type = with types; listOf (enum ["xorg" "wayland"]);
      default = [];
      description = "Desktop protocols you want to use for your desktop environment. If unset, no desktop is installed (headless host).";
    };
  };

  imports = [
    ./fonts.nix
    ./sound.nix
    ./xserver.nix
  ];
}