Add attribution
This commit is contained in:
parent
85264632a2
commit
67415c4c7a
|
@ -3,7 +3,7 @@
|
||||||
let
|
let
|
||||||
lenovo-speaker-fix-module = pkgs.callPackage ./patches/lenovo-speaker-fix.nix {
|
lenovo-speaker-fix-module = pkgs.callPackage ./patches/lenovo-speaker-fix.nix {
|
||||||
# Make sure the module targets the same kernel as your system is using.
|
# Make sure the module targets the same kernel as your system is using.
|
||||||
kernel = config.boot.kernelPackages.kernel;
|
inherit (config.boot.kernelPackages) kernel;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
@ -37,6 +37,7 @@ in
|
||||||
];
|
];
|
||||||
|
|
||||||
# Add kernel patch to enable sound over the speakers.
|
# 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 = [
|
extraModulePackages = [
|
||||||
(lenovo-speaker-fix-module.overrideAttrs (_: {
|
(lenovo-speaker-fix-module.overrideAttrs (_: {
|
||||||
patches = [ ./patches/lenovo_16ARHA7_sound_fix.patch ];
|
patches = [ ./patches/lenovo_16ARHA7_sound_fix.patch ];
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
{ pkgs
|
{ pkgs, lib, kernel ? pkgs.linuxPackages_latest.kernel }:
|
||||||
, lib
|
|
||||||
, kernel ? pkgs.linuxPackages_latest.kernel
|
|
||||||
}:
|
|
||||||
|
|
||||||
pkgs.stdenv.mkDerivation {
|
pkgs.stdenv.mkDerivation {
|
||||||
pname = "lenovo-speaker-fix-module";
|
pname = "lenovo-speaker-fix-module";
|
||||||
|
|
Loading…
Reference in a new issue