feat(image): install upstream kexec which now have support for UKIs

This commit is contained in:
Lars Sjöström 2025-02-26 14:35:58 +01:00
parent 0a0e9127e0
commit 7365ef8918
No known key found for this signature in database
13 changed files with 74 additions and 7 deletions
pkgs/kernel

16
pkgs/kernel/default.nix Normal file
View file

@ -0,0 +1,16 @@
{ pkgs, ... }:
let
version = "6.13.2";
in
pkgs.linuxPackagesFor (
pkgs.linuxManualConfig {
version = "${version}-patos1";
modDirVersion = version;
src = pkgs.fetchurl {
url = "https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${version}.tar.xz";
hash = "sha256-zfYpgZBru+lwGutzxPn8yAegmEbCiHMWY9YnF+0a5wU=";
};
configfile = ./generic.config;
allowImportFromDerivation = true;
}
)