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

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

  config = mkIf cfg.enable {
    cxl = {
      apps = {
        feh.enable = true;
        mpv.enable = true;

        cmus.enable = true;
        
        jellyfin.enable = true;
      };

      tools = {
        ffmpeg.enable = true;
      };
    };
  };
}