nixos-config/common/hardware/raspberry-pi.nix

23 lines
419 B
Nix
Raw Permalink Normal View History

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
boot = {
loader = {
grub.enable = false;
systemd-boot = {
enable = lib.mkForce false;
};
2024-04-17 20:39:12 +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
}