mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-29 19:29:17 -05:00
28 lines
428 B
Nix
28 lines
428 B
Nix
|
{
|
||
|
config,
|
||
|
inputs,
|
||
|
lib,
|
||
|
pkgs,
|
||
|
...
|
||
|
}: {
|
||
|
config = lib.mkIf config.alyraffauf.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;
|
||
|
};
|
||
|
}
|