dotfiles/profiles/xsession/audio.nix

20 lines
397 B
Nix
Raw Normal View History

2020-06-17 19:01:57 +02:00
{pkgs, config, lib, ...}:
{
config = lib.mkIf config.profiles.xsession.enable {
home.packages = [
pkgs.jack2
] ++ lib.optionals config.profiles.gui.enable [
pkgs.pavucontrol
2020-06-17 19:01:57 +02:00
pkgs.qjackctl
];
home.file.pulse = {
target = ".config/pulse/client.conf";
text = ''
daemon-binary=/var/run/current-system/sw/bin/pulseaudio
'';
};
};
}