core: experimental linux kernel version 6.4-rc0

This commit is contained in:
teutat3s 2023-04-26 14:22:06 +02:00
parent e7b03b9770
commit 69f842bd6e
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -36,7 +36,33 @@ in {
loader.systemd-boot.enable = lib.mkDefault true;
# Use latest linux kernel by default
kernelPackages = lib.mkDefault pkgs.linuxPackages_6_1;
#kernelPackages = lib.mkDefault pkgs.linuxPackages_6_1;
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
supportedFilesystems = ["ntfs"];