nixos-configuration/pipewire.nix
2021-10-26 22:06:45 +02:00

26 lines
424 B
Nix

{ config, lib, pkgs, ... }:
{
services.pipewire = {
enable = true;
pulse = {
enable = true;
};
jack = {
enable = true;
};
alsa = {
enable = true;
support32Bit = true;
};
};
environment.systemPackages = with pkgs; [
pavucontrol
pulseaudio # pacmd and pactl
];
xdg.portal = {
enable = true;
extraPortals = [pkgs.xdg-desktop-portal-wlr];
};
}