[Nix-dev] How to replace a standard kernel module with a newer version?

Peter Simons simons at cryp.to
Fri Sep 16 21:42:34 CEST 2011


Hi guys,

I found a simple solution:

  networking = {
    localCommands = ''
      ${pkgs.module_init_tools}/sbin/insmod ${config.boot.kernelPackages.e1000e}/lib/modules/*/kernel/drivers/net/e1000e/e1000e.ko
    '';
  };

With that snippet enabled, the Ethernet card

  00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)

works just fine.

Take care,
Peter



More information about the nix-dev mailing list