[Nix-dev] Linux firmware location

Michael Raskin 7c6f434c at mail.ru
Wed May 7 09:56:09 CEST 2008


Ludovic Courtès wrote:
> I couldn't find out how firmware blobs are supposed to be located by
> the kernel under NixOS.  Of course, creating and populating a
> `/lib/firmware' directory does the job, but it's Bad(tm).
> 
> Any hint?

Look at nixos/upstart-jobs/udev-firmware-loader.nix . It references
firmwareDirs variable, and is used by udev.nix in the same directory.

That variable is formed in default.nix, from some predefined directories
for known irmware, and config.services.udev.addFirmware list.




More information about the nix-dev mailing list