experiment

This commit is contained in:
Mikael 2024-07-31 19:52:48 +02:00
parent e5c2785e47
commit d5a1fd5848

View file

@ -18,7 +18,9 @@
let
inherit (pkgs) linuxKernel fetchFromGitHub gccStdenv;
kernel = linuxKernel.manualConfig rec {
kernelPkg = linuxKernel.manualConfig rec {
inherit configfile;
pname = "linux-hardened";
version = "6.10.2-hardened1";
@ -34,13 +36,12 @@
extraMakeFlags = [ "KCFLAGS=-march=${arch}" ];
isHardened = true;
inherit configfile features;
features = { efiBootStub = true; };
};
features = { efiBootStub = true; };
in kernel.overrideAttrs (base: {
passthru = base.passthru // { inherit features; };
});
kernel = pkgs.callPackage kernelPkg { };
in pkgs.recurseIntoAttrs (pkgs.linuxPackagesFor kernel);
in {
packages.x86_64-linux =
let