[Nix-dev] how to install & load kernel module wl?

Marc Weber marco-oweber at gmx.de
Wed Oct 10 16:10:19 CEST 2012


man configuration.nix

There is a system option 'extraKernelPackages' or such (boot section).

Why doesn't nix-env -i work? Because modprobe is a wrapper which is
passed a module directory which is assembled by nixos.
And that module directory is always represented by
/var/run/booted-system only (AFAIK) for good reasons.

The booted kernel should always match the modules available.
So maybe you even have to restart (or manually change such a symlink).

cat `which modprobe` should make you understand if you follow the
MDULE_DIR path to the store.

Marc Weber


More information about the nix-dev mailing list