I used to disable some things on the raspberry pi 4 with rasbpian.
/boot/config.txt
$this->bbcode_second_pass_code('', '
dtoverlay=disable-bt
dtoverlay=disable-wifi
dtparam=eth_led0=4
dtparam=eth_led1=4
dtparam=pwr_led_trigger=none
dtparam=pwr_led_activelow=off
dtparam=act_led_trigger=none
dtparam=act_led_activelow=off
')
after installing aarch64 archlinux this doesn't seem to work. I have disabled the bluetooth and wifi by blacklisting some modules but what about the leds?