From 12391b0cc9a290ac3ea222ac427bf56bb90cea90 Mon Sep 17 00:00:00 2001 From: joachimschmidt557 Date: Wed, 1 Jun 2022 18:50:35 +0200 Subject: [PATCH] dustbowl: add scarlett 2i2 modprobe rules --- nixos/dustbowl.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/nixos/dustbowl.nix b/nixos/dustbowl.nix index 970ff5c..6725e66 100644 --- a/nixos/dustbowl.nix +++ b/nixos/dustbowl.nix @@ -54,6 +54,12 @@ "v4l2loopback" ]; + # For Focusrite Scarlett 2i2 + # See https://github.com/Focusrite-Scarlett-on-Linux/sound-usb-kernel-module + boot.extraModprobeConfig = '' + options snd_usb_audio vid=0x1235 pid=0x8210 device_setup=1 + ''; + # Add qemu-binfmt for ARM and AArch64 boot.binfmt.emulatedSystems = [ "armv7l-linux" @@ -143,6 +149,12 @@ gdb intel-gpu-tools config.boot.kernelPackages.perf + fd + ripgrep + jq + fzf + tig + croc # GTK theme gnome.adwaita-icon-theme @@ -155,6 +167,7 @@ foot xdg-utils i3status + wlr-randr # GUI software emacsPgtk @@ -165,6 +178,8 @@ imv pavucontrol xournalpp + libreoffice + okular ]; # Use doas instead of sudo