blob: 7a07d7964fea4cf14832fe26f4f7899390c5cc45 (
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
30
31
32
33
34
35
36
37
|
{ options, config, lib, namespace, ... }:
with lib; with lib.${namespace}; let
cfg = config.${namespace}.suites.desktop;
desktop = config.${namespace}.desktop;
in {
options.${namespace}.suites.desktop = with types; {
enable = mkEnableOption "desktop";
};
config = mkIf (cfg.enable && desktop.enable) {
cxl = {
apps = {
kitty.enable = true;
flameshot.enable = true;
firefox.enable = true;
};
tools = {
mute.enable = true;
click.enable = true;
};
desktop.components = {
i3.enable = true;
polybar.enable = true;
rofi.enable = true;
picom.enable = true;
eww.enable = true;
gtk.enable = true;
fcitx5.enable = true;
};
};
};
}
|