nix-configs/modules/desktop/audio.nix

39 lines
732 B
Nix
Raw Normal View History

2023-02-13 11:54:21 +00:00
{
config,
lib,
pkgs,
...
}: {
2023-02-13 11:54:21 +00:00
config = {
programs = {
noisetorch.enable = true;
};
services = {
pipewire = {
enable = true;
alsa.enable = true;
pulse.enable = true;
jack.enable = true;
};
};
2023-10-28 20:25:06 +00:00
hardware.pulseaudio.enable = pkgs.lib.mkForce false;
2023-09-08 23:10:22 +00:00
sound.mediaKeys.enable = true;
home-manager.users.jade = {pkgs, ...}: {
2023-02-13 11:54:21 +00:00
home.packages = with pkgs; [
pavucontrol
pulseaudioFull
easyeffects
cava
volumeicon
2023-02-13 11:54:21 +00:00
playerctl
];
xsession.windowManager.i3.config.startup = [
{
command = "pkill volumeicon; volumeicon";
always = true;
2023-02-13 11:54:21 +00:00
}
];
};
};
}