nix-config/modules/both/sound.nix

24 lines
422 B
Nix
Raw Normal View History

{
config,
pkgs,
...
}: {
# Enable sound with pipewire.
sound.enable = true;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
2024-04-05 01:44:59 +02:00
home-manager.users.${config.host.user} = {config, ...}: {
home.packages = with pkgs; [
pwvucontrol
helvum
];
};
}