nix-configs/modules/desktop-environment/audio.nix

40 lines
747 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
2024-01-04 10:36:07 +00:00
helvum
2023-02-13 11:54:21 +00:00
];
xsession.windowManager.i3.config.startup = [
{
command = "pkill volumeicon; volumeicon";
always = true;
2023-02-13 11:54:21 +00:00
}
];
};
};
}