nix-configs/modules/desktop/audio.nix

36 lines
735 B
Nix
Raw Normal View History

2023-02-13 11:54:21 +00:00
{ config, lib, pkgs, ... }:
{
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;
2023-02-13 11:54:21 +00:00
home-manager.users.jade = { pkgs, ... }: {
home.packages = with pkgs; [
pavucontrol
pulseaudioFull
easyeffects
cava
2023-03-20 22:40:59 +00:00
volumeicon
2023-02-13 11:54:21 +00:00
playerctl
];
xsession.windowManager.i3.config.startup = [
{
2023-03-20 22:40:59 +00:00
command = "pkill volumeicon; volumeicon";
2023-02-13 11:54:21 +00:00
always = true;
}
];
};
};
}