This commit is contained in:
mjallen18
2026-01-23 14:21:03 -06:00
parent 302d7f5af5
commit e5dbeadbb6
2 changed files with 78 additions and 78 deletions

View File

@@ -36,24 +36,24 @@
];
};
specialisation = {
"linux-latest".configuration = {
boot = {
kernelPackages = lib.mkOverride 90 pkgs.linuxPackages_pi5-16k;
loader.systemd-boot.installDeviceTree = true;
};
hardware.deviceTree = {
enable = true;
package = lib.mkForce pkgs.${namespace}.linuxPackages_rpi5-lts.kernel;
name = "bcm2712-rpi-5-b.dtb";
filter = "bcm2712*";
};
boot.bootspec.extensions."org.nixos.systemd-boot" = lib.mkForce {
inherit (config.boot.loader.systemd-boot) sortKey;
devicetree = "./bcm2712-rpi-5-b.dtb";
};
};
};
# specialisation = {
# "linux-latest".configuration = {
# boot = {
# kernelPackages = lib.mkOverride 90 pkgs.linuxPackages_pi5-16k;
# loader.systemd-boot.installDeviceTree = true;
# };
# hardware.deviceTree = {
# enable = true;
# package = lib.mkForce pkgs.${namespace}.linuxPackages_rpi5-lts.kernel;
# name = "bcm2712-rpi-5-b.dtb";
# filter = "bcm2712*";
# };
# boot.bootspec.extensions."org.nixos.systemd-boot" = lib.mkForce {
# inherit (config.boot.loader.systemd-boot) sortKey;
# devicetree = "./bcm2712-rpi-5-b.dtb";
# };
# };
# };
${namespace}.hardware.raspberry-pi.config = {
# extra-config = {