2020-06-17 19:01:57 +02:00
|
|
|
{pkgs, config, lib, ...}:
|
|
|
|
|
|
|
|
{
|
|
|
|
config = lib.mkIf config.profiles.xsession.enable {
|
|
|
|
home.packages = [
|
|
|
|
pkgs.jack2
|
2020-07-11 04:08:58 +02:00
|
|
|
] ++ 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
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|