mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
70378ad2b7
Newer kernels (since torvalds/linux@abb139e75c) try to read firmware directly from the filesystem before falling back to a userspace helper (udev) if firmware cannot be found (in even newer kernels, the fallback path can be disabled altogether). By default, only certain paths in /lib/firmware* are searched, so this was initially not helpful for NixOS. Since torvalds/linux@2760284206 (which, based on the commit message, was implemented just for NixOS, go us!), though, an extra path can be dynamically prepended to the search path. So do that, in three ways: 1. Pass a kernel command line option in case the module is built-in 2. Add a line to modprobe.conf in case the module isn't yet loaded by activation-time 3. Add an activation script to set the option in /sys in case the module is already loaded by activation-time. |
||
---|---|---|
doc | ||
gui | ||
lib | ||
maintainers | ||
modules | ||
tests | ||
.gitignore | ||
.version | ||
COPYING | ||
default.nix | ||
README | ||
release-combined.nix | ||
release.nix |
*** NixOS *** NixOS is a Linux distribution based on the purely functional package management system Nix. More information can be found at http://nixos.org/nixos and in the manual in doc/manual.