dotfiles/profiles/xsession/audio.nix

18 lines
444 B
Nix
Raw Normal View History

2020-06-17 19:01:57 +02:00
{pkgs, config, lib, ...}:
2021-07-14 00:51:09 +02:00
let
audio-plugins = pkgs.symlinkJoin { name = "audio-plugins"; paths = [ pkgs.lsp-plugins pkgs.speech-denoiser ];};
in
2020-06-17 19:01:57 +02:00
{
config = lib.mkIf config.profiles.xsession.enable {
2021-07-14 00:51:09 +02:00
home.packages = [ ] ++ lib.optionals config.profiles.gui.enable [
pkgs.pavucontrol
2021-07-14 00:51:09 +02:00
pkgs.carla
2020-06-17 19:01:57 +02:00
];
2021-07-14 00:51:09 +02:00
home.file."audio-plugins" = {
source = "${audio-plugins}/lib";
target = "audio-plugins";
};
2020-06-17 19:01:57 +02:00
};
}