Compare commits

..

No commits in common. "4aa27cf9bbb434b126d733b4e431be99adad2a08" and "4f130206016783e98a4fd7ee9796420c2c292a22" have entirely different histories.

2 changed files with 4 additions and 9 deletions

View File

@ -1,11 +1,8 @@
{ config, lib, pkgs, ... }:
{ config, 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
@ -14,7 +11,9 @@ let
'';
in {
boot.extraModulePackages = [
(lib.hiPrio patched)
(snd-usb-audio-module.overrideAttrs (_: {
patches = [ ./0001-Update-device-ID-for-PreSonus-1824c.patch ];
}))
];
environment.etc = {

View File

@ -64,9 +64,5 @@
networking.useDHCP = lib.mkDefault true;
environment.systemPackages = [
pkgs.apfs-fuse
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}