mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-20 10:36:25 +00:00
22 lines
432 B
Nix
22 lines
432 B
Nix
{ desktop, lib, pkgs, ... }:
|
|
{
|
|
environment.systemPackages = with pkgs; [
|
|
alsa-utils
|
|
pulseaudio
|
|
pulsemixer
|
|
] ++ lib.optionals (desktop != null) [
|
|
pavucontrol
|
|
];
|
|
|
|
hardware.pulseaudio.enable = false;
|
|
security.rtkit.enable = true;
|
|
services = {
|
|
pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
jack.enable = true;
|
|
pulse.enable = true;
|
|
wireplumber.enable = true;
|
|
};
|
|
};
|
|
}
|