hitagi: Use kernel from nixpkgs unstable

It now includes 6.2
This commit is contained in:
Simon Bruder 2023-03-09 21:18:22 +01:00
parent cb175687dc
commit 2fc8b9cff4
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -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