{ config, lib, pkgs, ... }:

{
  config = {
    programs = {
      noisetorch.enable = true;
    };
    services = {
      pipewire = {
        enable = true;
        alsa.enable = true;
        pulse.enable = true;
        jack.enable = true;
      };
    };
    sound.mediaKeys.enable = true;
    home-manager.users.jade = { pkgs, ... }: {
      home.packages = with pkgs; [
        pavucontrol 
        pulseaudioFull 
        easyeffects 
        cava 
        volumeicon 
        playerctl
      ];
      xsession.windowManager.i3.config.startup = [
        { 
          command = "pkill volumeicon; volumeicon"; 
          always = true; 
        }
      ];
    };
  };
}
