nix-config/configs/nixos/sound.nix

23 lines
399 B
Nix

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