2021-12-26 12:38:23 +00:00
|
|
|
{ config, pkgs, ... }: {
|
2021-12-20 23:48:26 +00:00
|
|
|
sound.enable = true;
|
2021-12-26 12:38:23 +00:00
|
|
|
nixpkgs.config.pulseaudio = true;
|
|
|
|
hardware.pulseaudio = {
|
|
|
|
enable = true;
|
2021-12-28 17:47:07 +00:00
|
|
|
#support32Bit = true;
|
2021-12-26 12:38:23 +00:00
|
|
|
extraModules = with pkgs; [ pkgs.pulseaudio-modules-bt ];
|
|
|
|
package = pkgs.pulseaudioFull;
|
2021-12-26 14:07:09 +00:00
|
|
|
extraConfig = "\n load-module module-switch-on-connect\n ";
|
2021-12-26 12:38:23 +00:00
|
|
|
};
|
2021-12-26 14:07:09 +00:00
|
|
|
environment.systemPackages = with pkgs; [ pavucontrol ];
|
2021-12-20 23:48:26 +00:00
|
|
|
}
|