mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 15:51:54 -05:00
29 lines
415 B
Nix
29 lines
415 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
config = lib.mkIf config.ar.hardware.sound {
|
|
sound.enable = true;
|
|
|
|
hardware.pulseaudio = {
|
|
enable = lib.mkForce false;
|
|
package = pkgs.pulseaudioFull;
|
|
};
|
|
|
|
services = {
|
|
pipewire = {
|
|
enable = true;
|
|
|
|
alsa = {
|
|
enable = true;
|
|
support32Bit = true;
|
|
};
|
|
|
|
pulse.enable = true;
|
|
};
|
|
};
|
|
};
|
|
}
|