fix: old kernels can't load dtb

This commit is contained in:
Adam Stephens 2024-05-16 22:25:10 -04:00
parent dc4fd98195
commit 3e183c4b98
No known key found for this signature in database

View file

@ -18,7 +18,7 @@ let
if cfg.kernel == "jhovold" then x13sPackages.linux_jhovold else throw "Unsupported kernel"
);
dtb = "${linuxPackages_x13s.kernel}/dtbs/qcom/${dtbName}";
dtbEfiPath = "dtbs/${cfg.kernel}/${config.boot.kernelPackages.kernel.version}/${dtbName}";
dtbEfiPath = "dtbs/x13s.dtb";
in
{
options.nixos-x13s = {