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

40 lines
747 B
Nix
Raw Normal View History

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