blob: d84f31db535742d42a0f3752ece51802f11ecf23 (
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
|
{ options, config, lib, namespace, ... }:
with lib; with lib.${namespace}; let
cfg = config.${namespace}.suites.media;
desktop = config.${namespace}.desktop;
in {
options.${namespace}.suites.media = with types; {
enable = mkEnableOption "media";
};
config = mkIf cfg.enable {
cxl = {
apps = mkIf desktop.enable {
feh.enable = true;
mpv.enable = true;
cmus.enable = true;
#TODO: re-enable once qt6 version releases
jellyfin.enable = false;
};
tools = {
ffmpeg.enable = true;
};
};
};
}
|