2024-09-04 19:46:09 -07:00
|
|
|
{
|
2024-12-22 22:26:41 -08:00
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
let
|
|
|
|
cfg = config.liminalOS.system.audio.prod;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.liminalOS.system.audio.prod.enable = lib.mkEnableOption "audio production";
|
|
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
liminalOS = {
|
|
|
|
programs.wine.enable = true;
|
|
|
|
system.audio.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
reaper
|
|
|
|
yabridge
|
|
|
|
yabridgectl
|
2024-12-29 23:48:07 -08:00
|
|
|
alsa-scarlett-gui
|
2024-12-22 22:26:41 -08:00
|
|
|
];
|
2024-12-24 18:19:06 -08:00
|
|
|
|
|
|
|
liminalOS.config.extraUnfreePackages = lib.mkIf config.liminalOS.config.allowUnfree [
|
|
|
|
"reaper"
|
|
|
|
];
|
2024-12-22 22:26:41 -08:00
|
|
|
};
|
2024-09-04 19:46:09 -07:00
|
|
|
}
|