mirror of
https://github.com/youwen5/nixos.git
synced 2025-01-18 13:12:10 -08:00
30 lines
547 B
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"
|
|
];
|
|
};
|
|
}
|