mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
[raspberry] disable network leds
This commit is contained in:
parent
7517f318dc
commit
30d15bdde6
1 changed files with 7 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
boot.loader.grub.enable = false;
|
boot.loader.grub.enable = false;
|
||||||
boot.loader.raspberryPi.enable = true;
|
boot.loader.raspberryPi.enable = true;
|
||||||
boot.loader.raspberryPi.version = 4;
|
boot.loader.raspberryPi.version = 4;
|
||||||
boot.loader.raspberryPi.firmwareConfig = "
|
boot.loader.raspberryPi.firmwareConfig = ''
|
||||||
# Disable the ACT LED.
|
# Disable the ACT LED.
|
||||||
dtparam=act_led_trigger=none
|
dtparam=act_led_trigger=none
|
||||||
dtparam=act_led_activelow=off
|
dtparam=act_led_activelow=off
|
||||||
|
@ -12,8 +12,13 @@
|
||||||
dtparam=pwr_led_trigger=none
|
dtparam=pwr_led_trigger=none
|
||||||
dtparam=pwr_led_activelow=off
|
dtparam=pwr_led_activelow=off
|
||||||
|
|
||||||
|
# Disable ethernet port LEDs
|
||||||
|
dtparam=eth0_led=4
|
||||||
|
dtparam=eth1_led=4
|
||||||
|
|
||||||
# Disable SD-Card pools
|
# Disable SD-Card pools
|
||||||
dtparam=sd_pool_once=on";
|
dtparam=sd_pool_once=on
|
||||||
|
'';
|
||||||
|
|
||||||
# Kernel configuration
|
# Kernel configuration
|
||||||
boot.kernelPackages = pkgs.linuxPackages_rpi4;
|
boot.kernelPackages = pkgs.linuxPackages_rpi4;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue