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