26 lines
424 B
Nix
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];
|
|
};
|
|
}
|