aboutsummaryrefslogtreecommitdiff
path: root/snowfall/modules/home/suites/desktop/default.nix
blob: 2e73ad08f3914afec4477ff86e563edfa611677f (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
{ options, config, lib, namespace, ... }:

with lib; with lib.${namespace}; let
  cfg = config.${namespace}.suites.desktop;
in {
  options.${namespace}.suites.desktop = with types; {
    enable = mkEnableOption "desktop";
  };

  config = mkIf cfg.enable {
    cxl = {
      apps = {
        i3.enable = true;

        polybar.enable = true;
        rofi.enable = true;
        picom.enable = true;

        kitty.enable = true;
        flameshot.enable = true;
      };
    };
  };
}