serverle: switch to FAT-bootloader

This commit is contained in:
Felix Buehler 2022-11-09 22:21:41 +01:00
parent a1ffa50498
commit a354d4c88e

View file

@ -1,20 +1,29 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
boot.loader.raspberryPi.firmwareConfig = '' boot.loader = {
# Disable the ACT LED. raspberryPi = {
dtparam=act_led_trigger=none firmwareConfig = ''
dtparam=act_led_activelow=off # Disable the ACT LED.
# Disable the PWR LED. dtparam=act_led_trigger=none
dtparam=pwr_led_trigger=none dtparam=act_led_activelow=off
dtparam=pwr_led_activelow=off # Disable the PWR LED.
dtparam=pwr_led_trigger=none
dtparam=pwr_led_activelow=off
# Disable ethernet port LEDs # Disable ethernet port LEDs
dtparam=eth0_led=4 dtparam=eth0_led=4
dtparam=eth1_led=4 dtparam=eth1_led=4
# Disable SD-Card pools # Disable SD-Card pools
dtparam=sd_pool_once=on dtparam=sd_pool_once=on
''; '';
# the bootloader has to be enabled for fat systems. for ext use the other one.
enable = true;
version = 4;
};
generic-extlinux-compatible.enable = false;
};
# Kernel configuration # Kernel configuration
boot.kernelParams = [ "cma=64M" "console=tty0" ]; boot.kernelParams = [ "cma=64M" "console=tty0" ];