[raspberry] disable network leds

This commit is contained in:
Felix Buehler 2021-03-10 13:20:19 +01:00
parent 7517f318dc
commit 30d15bdde6

View file

@ -4,16 +4,21 @@
boot.loader.grub.enable = false;
boot.loader.raspberryPi.enable = true;
boot.loader.raspberryPi.version = 4;
boot.loader.raspberryPi.firmwareConfig = "
boot.loader.raspberryPi.firmwareConfig = ''
# Disable the ACT LED.
dtparam=act_led_trigger=none
dtparam=act_led_activelow=off
# Disable the PWR LED.
dtparam=pwr_led_trigger=none
dtparam=pwr_led_activelow=off
# Disable ethernet port LEDs
dtparam=eth0_led=4
dtparam=eth1_led=4
# Disable SD-Card pools
dtparam=sd_pool_once=on";
dtparam=sd_pool_once=on
'';
# Kernel configuration
boot.kernelPackages = pkgs.linuxPackages_rpi4;