Bump priority of snd-usb-audio patch

This commit is contained in:
Jordan Holt 2023-12-26 15:00:37 +00:00
parent 4f13020601
commit 2a92ded7db
Signed by: jordan
GPG Key ID: B8CFFF61F1CCF520

View File

@ -1,8 +1,11 @@
{ config, pkgs, ... }:
{ config, lib, pkgs, ... }:
let
snd-usb-audio-module = pkgs.callPackage ./snd-usb-audio.nix {
kernel = config.boot.kernelPackages.kernel;
};
patched = snd-usb-audio-module.overrideAttrs (prev: {
patches = [ ./0001-Update-device-ID-for-PreSonus-1824c.patch ];
});
upmixConfig = ''
stream.properties = {
channelmix.upmix = true
@ -11,9 +14,7 @@ let
'';
in {
boot.extraModulePackages = [
(snd-usb-audio-module.overrideAttrs (_: {
patches = [ ./0001-Update-device-ID-for-PreSonus-1824c.patch ];
}))
(lib.hiPrio patched)
];
environment.etc = {