mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-15 08:46:25 +00:00
23 lines
432 B
Nix
23 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;
|
||
|
};
|
||
|
};
|
||
|
}
|