moby: switch to linux-megous-firmware for firmware

This commit is contained in:
2023-09-18 13:36:28 +00:00
parent e51ca61bfe
commit 05bbc5d18f

View File

@@ -74,12 +74,16 @@
# `cat /proc/meminfo` to see CmaTotal/CmaFree if interested in tuning this. # `cat /proc/meminfo` to see CmaTotal/CmaFree if interested in tuning this.
boot.kernelParams = [ "cma=512M" ]; boot.kernelParams = [ "cma=512M" ];
# hardware.firmware makes the referenced files visible to the kernel, for whenever a driver explicitly asks for them.
# these files are visible from userspace by following `/sys/module/firmware_class/parameters/path`
#
# mobile-nixos' /lib/firmware includes: # mobile-nixos' /lib/firmware includes:
# rtl_bt (bluetooth) # rtl_bt (bluetooth)
# anx7688-fw.bin (USB-C -> HDMI bridge) # anx7688-fw.bin (USB-C chip: power negotiation, HDMI/dock)
# ov5640_af.bin (camera module) # ov5640_af.bin (camera module)
# hardware.firmware = [ config.mobile.device.firmware ]; # hardware.firmware = [ config.mobile.device.firmware ];
hardware.firmware = [ pkgs.rtl8723cs-firmware ]; # hardware.firmware = [ pkgs.rtl8723cs-firmware ];
hardware.firmware = [ pkgs.linux-firmware-megous ];
system.stateVersion = "21.11"; system.stateVersion = "21.11";