19 lines
243 B
Nix
19 lines
243 B
Nix
{
|
|
lib,
|
|
config,
|
|
...
|
|
}: let
|
|
cfg = config.music;
|
|
in {
|
|
options = {
|
|
music.enable = lib.mkEnableOption "sound system";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
musnix = {
|
|
enable = true;
|
|
rtcqs.enable = true;
|
|
};
|
|
};
|
|
}
|