liminalOS/modules/linux/audio-prod/default.nix

30 lines
547 B
Nix

{
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
alsa-scarlett-gui
];
liminalOS.config.extraUnfreePackages = lib.mkIf config.liminalOS.config.allowUnfree [
"reaper"
];
};
}