aboutsummaryrefslogtreecommitdiff
path: root/snowfall/modules/home/suites/media/default.nix
blob: 5caf02b528f1cbd8b57ca0e2c06f1bc28f16fb6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ 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 = {
        cmus.enable = true;
        mpv.enable = true;
      };
    };
  };
}