2024-04-17 22:28:27 +02:00
|
|
|
{lib, ...}: {
|
2024-04-22 04:57:27 +02:00
|
|
|
# Raspberry PI 3 B+
|
|
|
|
|
2024-04-17 20:39:12 +02:00
|
|
|
# Disable systemd-boot
|
2024-05-30 17:28:31 +02:00
|
|
|
boot = {
|
|
|
|
loader = {
|
|
|
|
grub.enable = false;
|
|
|
|
|
|
|
|
systemd-boot = {
|
|
|
|
enable = lib.mkForce false;
|
|
|
|
};
|
2024-04-17 20:39:12 +02:00
|
|
|
|
2024-05-30 17:28:31 +02:00
|
|
|
efi.canTouchEfiVariables = false;
|
|
|
|
};
|
2024-04-17 20:39:12 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
# Enables the generation of /boot/extlinux/extlinux.conf
|
|
|
|
boot.loader.generic-extlinux-compatible.enable = true;
|
|
|
|
|
|
|
|
# firmware
|
|
|
|
hardware.enableRedistributableFirmware = true;
|
2024-04-17 22:28:27 +02:00
|
|
|
}
|