22 lines
371 B
Nix
22 lines
371 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
lib.mkIf config.u.has.graphical {
|
|
services.pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
pulse.enable = true;
|
|
};
|
|
security.rtkit.enable = true;
|
|
hardware.bluetooth = {
|
|
enable = true;
|
|
powerOnBoot = true;
|
|
settings.General = {
|
|
Enable = "Source,Sink,Media,Socket";
|
|
};
|
|
};
|
|
}
|