nothing n

This commit is contained in:
mjallen18
2026-01-19 10:54:21 -06:00
parent 59500f3e50
commit e2dfca0245
2 changed files with 5 additions and 19 deletions

View File

@@ -345,7 +345,10 @@ in
# Common hardware settings # Common hardware settings
hardware = { hardware = {
deviceTree = { deviceTree = {
filter = lib.mkDefault (if (cfg.variant == "5") then "bcm2712-rpi-*.dtb" else "bcm2711-rpi-*.dtb"); enable = true;
package = config.boot.kernelPackages.kernel;
name = "bcm2712-rpi5-b.dtb";
filter = lib.mkDefault (if (cfg.variant == "5") then "bcm2712-rpi5-*.dtb" else "bcm2711-rpi4-*.dtb");
overlays = ( overlays = (
if (cfg.variant == "4") then if (cfg.variant == "4") then
[ [
@@ -369,24 +372,6 @@ in
}; };
''; '';
} }
# {
# name = "enable-xhci";
# dtsText = ''
# /dts-v1/;
# /plugin/;
# / {
# compatible = "brcm,bcm2711";
# fragment@0 {
# //target-path = "/scb/xhci@7e9c0000";
# target = <&xhci>;
# __overlay__ {
# status = "okay";
# };
# };
# };
# '';
# }
] ]
else else
[ [

View File

@@ -38,6 +38,7 @@
"linux-latest".configuration = { "linux-latest".configuration = {
boot = { boot = {
kernelPackages = lib.mkOverride 90 pkgs.linuxPackages_pi5-16k; kernelPackages = lib.mkOverride 90 pkgs.linuxPackages_pi5-16k;
loader.systemd-boot.installDeviceTree = true;
}; };
}; };
}; };