nix-configs/modules/desktop/audio.nix

36 lines
735 B
Nix
Raw Normal View History

2023-02-13 12:54:21 +01: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 22:25:06 +02:00
hardware.pulseaudio.enable = pkgs.lib.mkForce false;
2023-09-09 01:10:22 +02:00
sound.mediaKeys.enable = true;
2023-02-13 12:54:21 +01:00
home-manager.users.jade = { pkgs, ... }: {
home.packages = with pkgs; [
pavucontrol
pulseaudioFull
easyeffects
cava
2023-03-20 23:40:59 +01:00
volumeicon
2023-02-13 12:54:21 +01:00
playerctl
];
xsession.windowManager.i3.config.startup = [
{
2023-03-20 23:40:59 +01:00
command = "pkill volumeicon; volumeicon";
2023-02-13 12:54:21 +01:00
always = true;
}
];
};
};
}