aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/default.nix
blob: 382eca3e99340b8dc79fddfa869c006032052857 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Desktop environment configuration
{
  lib,
  config,
  ...
}:
let
  cfg = config.desktop;
in
{
  imports = [
    ./icons
    ./rofi
    ./wl-clipboard
    ./xdg
    ./niri
    ./eww
    ./mako
    ./swayidle
  ];

  options.desktop = {
    enable = lib.mkEnableOption "Enables graphical interface.";
  };

  config = lib.mkIf cfg.enable {
    xdg.enable = true;
  };
}