experiment
This commit is contained in:
parent
e5c2785e47
commit
d5a1fd5848
1 changed files with 7 additions and 6 deletions
13
flake.nix
13
flake.nix
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue