mirror of
https://git.dodsorf.as/Dandellion/dotfiles.git
synced 2024-12-28 13:37:30 +01:00
20 lines
397 B
Nix
20 lines
397 B
Nix
{pkgs, config, lib, ...}:
|
|
|
|
{
|
|
config = lib.mkIf config.profiles.xsession.enable {
|
|
home.packages = [
|
|
pkgs.jack2
|
|
] ++ lib.optionals config.profiles.gui.enable [
|
|
pkgs.pavucontrol
|
|
pkgs.qjackctl
|
|
];
|
|
|
|
home.file.pulse = {
|
|
target = ".config/pulse/client.conf";
|
|
text = ''
|
|
daemon-binary=/var/run/current-system/sw/bin/pulseaudio
|
|
'';
|
|
};
|
|
};
|
|
}
|