From e99a45dba5ec1e85131b8c0f10f8a157025fea26 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Thu, 8 Jun 2023 20:11:00 +0200 Subject: [PATCH] pipewire: Add support for Focusrite Scarlett Solo Gen 3 The headphone output of my Behringer UMC202HD had sporadic cutouts. While short, they were quite annoying. I hope this interface (which costs 50% more) will work better. --- modules/pipewire.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/pipewire.nix b/modules/pipewire.nix index f69c33a..40f8fbe 100644 --- a/modules/pipewire.nix +++ b/modules/pipewire.nix @@ -19,8 +19,14 @@ lib.mkIf config.sbruder.gui.enable { unstable.helvum # patch panel pavucontrol pulseaudio # pacmd and pactl + alsa-scarlett-gui # focusrite scarlett control ]; hardware.bluetooth.enable = lib.mkDefault bluetoothSupport; services.blueman.enable = lib.mkDefault bluetoothSupport; + + boot.extraModprobeConfig = '' + # Focusrite Scarlett Solo Gen 3 Mixer Driver + options snd_usb_audio vid=0x1235 pid=0x8211 device_setup=1 + ''; }