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