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 _______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev