nixos-configuration/modules/pipewire.nix
Jakob Lechner 0b97afa7ce
Revert "Split UMC202HD inputs into mono channels"
This reverts commit d2b01eaf44.

pipewire-media-session is no longer supported upstream and has been removed
2023-05-23 16:40:50 +00:00

38 lines
677 B
Nix

{ config, lib, pkgs, ... }:
lib.mkIf config.myConfig.gui.enable {
sound.enable = true;
hardware.pulseaudio.enable = false;
# FIXME
#hardware.pulseaudio.extraModules = [ pkgs.pulseaudio-modules-bt ];
services.pipewire = {
enable = true;
pulse = {
enable = true;
};
jack = {
enable = true;
};
alsa = {
enable = true;
support32Bit = true;
};
};
environment.systemPackages = with pkgs; [
pavucontrol
pulseaudio # pacmd and pactl
];
# required for ardour
security.pam.loginLimits = [
{
domain = "@audio";
item = "memlock";
type = "-";
value = "unlimited";
}
];
}