1
0
Fork 0

Add attribution

This commit is contained in:
Aires 2024-03-21 18:40:36 -04:00
parent 85264632a2
commit 67415c4c7a
2 changed files with 3 additions and 5 deletions

View file

@ -3,7 +3,7 @@
let
lenovo-speaker-fix-module = pkgs.callPackage ./patches/lenovo-speaker-fix.nix {
# Make sure the module targets the same kernel as your system is using.
kernel = config.boot.kernelPackages.kernel;
inherit (config.boot.kernelPackages) kernel;
};
in
{
@ -37,6 +37,7 @@ in
];
# Add kernel patch to enable sound over the speakers.
# Patch sourced from https://github.com/christian-bendiksen/kernel-6.8.0-63.16ARHA7.fc40
extraModulePackages = [
(lenovo-speaker-fix-module.overrideAttrs (_: {
patches = [ ./patches/lenovo_16ARHA7_sound_fix.patch ];

View file

@ -1,7 +1,4 @@
{ pkgs
, lib
, kernel ? pkgs.linuxPackages_latest.kernel
}:
{ pkgs, lib, kernel ? pkgs.linuxPackages_latest.kernel }:
pkgs.stdenv.mkDerivation {
pname = "lenovo-speaker-fix-module";