dotfiles/nix/system/sound.nix

18 lines
347 B
Nix
Raw Normal View History

2024-04-28 11:35:35 +02:00
{ pkgs, config, ... }: {
# Enable sound with pipewire.
environment.systemPackages = with pkgs; [
pavucontrol
];
sound.enable = true;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = false;
pulse.enable = true;
};
}