aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/default.nix
blob: 15ad89686dfcc4f3824d4d597d6c91f8234acfbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Desktop - Desktop environment configuration (Hyprland, darkman, waybar)
{
  lib,
  config,
  ...
}:
{
  imports = [
    ./darkman
    ./rofi
    ./xdg
    ./hyprland
    ./waybar
  ];

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

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