20 lines
363 B
Nix
20 lines
363 B
Nix
|
{ pkgs, config, ... }: {
|
||
|
|
||
|
# Enable sound with pipewire.
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
pulseaudio
|
||
|
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;
|
||
|
};
|
||
|
|
||
|
}
|