core: use linux_testing 6.4-rc kernel

This commit is contained in:
teutat3s 2023-05-18 00:05:45 +02:00
parent 7e1758bfb2
commit 4c4e889e27
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -36,33 +36,7 @@ in {
loader.systemd-boot.enable = lib.mkDefault true; loader.systemd-boot.enable = lib.mkDefault true;
# Use latest linux kernel by default # Use latest linux kernel by default
#kernelPackages = lib.mkDefault pkgs.linuxPackages_6_1; kernelPackages = lib.mkDefault pkgs.linuxPackages_testing;
kernelPackages = let
linux_6_4_pkg = {
fetchurl,
buildLinux,
...
} @ args:
buildLinux (args
// rec {
version = "6.4-rc0";
modDirVersion = "6.3.0";
src = fetchurl {
url = "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/snapshot/linux-master.tar.gz";
sha256 = "sha256-RpeMCBannCFW/Q0t6ZYtyJlvMdVXnr7HfISJQsnyQBo=";
};
kernelPatches = [];
ignoreConfigErrors = true;
extraMeta.branch = "6.4";
}
// (args.argsOverride or {}));
linux_6_4 = pkgs.callPackage linux_6_4_pkg {};
in
pkgs.recurseIntoAttrs (pkgs.linuxPackagesFor linux_6_4);
# Support ntfs drives # Support ntfs drives
supportedFilesystems = ["ntfs"]; supportedFilesystems = ["ntfs"];