|
|
|
@ -7,22 +7,7 @@
|
|
|
|
|
|
|
|
|
|
boot = {
|
|
|
|
|
# Intel arc
|
|
|
|
|
#kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
|
kernelPackages = pkgs.unstable.recurseIntoAttrs (pkgs.unstable.linuxPackagesFor (pkgs.unstable.callPackage
|
|
|
|
|
({ fetchurl, buildLinux, ... } @ args: buildLinux (args // rec {
|
|
|
|
|
version = "6.2.0-rc7";
|
|
|
|
|
modDirVersion = version;
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = "https://git.kernel.org/torvalds/t/linux-6.2-rc7.tar.gz";
|
|
|
|
|
sha256 = "sha256-6klAGw+J0usyY55dTMb/reUbAobJdheG/6YvNGz7SwM=";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
kernelPatches = [ ];
|
|
|
|
|
|
|
|
|
|
extraMeta.branch = "6.2";
|
|
|
|
|
} // (args.argsOverride or { })))
|
|
|
|
|
{ }));
|
|
|
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
|
# fan control configuration from https://gist.github.com/bakman2/e801f342aaa7cade62d7bd54fd3eabd8
|
|
|
|
|
kernelModules = [ "kvm-amd" "it87" ];
|
|
|
|
|
kernelParams = [ "acpi_enforce_resources=lax" ]; # allow it87 to load
|
|
|
|
|