{ pkgs , lib , rootPath , config , ... }: let cfg = config.kp2pml30; in lib.mkIf cfg.hardware.audio { security.rtkit.enable = true; services.pipewire = { enable = true; alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; }; environment.systemPackages = with pkgs; [ alsa-utils acpid ]; }