nixconfigs/common/pulseaudio.nix

16 lines
327 B
Nix
Raw Normal View History

{ pkgs, ... }:
{
# Enable sound.
hardware.pulseaudio = {
enable = true;
package = pkgs.pulseaudioFull;
# decouple pulseaudio application and sink volumes
daemon.config = {
flat-volumes = "no";
};
# C3D2 hq music
zeroconf.discovery.enable = true;
zeroconf.publish.enable = true;
};
}