mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 18:53:54 -05:00
28 lines
420 B
Nix
28 lines
420 B
Nix
{
|
|
config,
|
|
inputs,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
config = lib.mkIf config.ar.base.enable {
|
|
hardware.pulseaudio = {
|
|
enable = lib.mkForce false;
|
|
package = pkgs.pulseaudioFull;
|
|
};
|
|
|
|
services = {
|
|
pipewire = {
|
|
enable = true;
|
|
alsa = {
|
|
enable = true;
|
|
support32Bit = true;
|
|
};
|
|
pulse.enable = true;
|
|
};
|
|
};
|
|
|
|
sound.enable = true;
|
|
};
|
|
}
|