[Nix-dev] How to unblacklist kernel modules in /etc/modprobe.d/ubuntu.conf?

roconnor at theorem.ca roconnor at theorem.ca
Fri Nov 7 17:40:03 CET 2014


Hi all,

I've almost got my touchpad on my Acer C710 (running SeaBIOS) working with 
the following config:

   nixpkgs.config.packageOverrides = pkgs: { linux_3_17 = pkgs.linux_3_17.override { extraConfig = "CHROME_PLATFORMS y"; }; };
   boot.kernelPackages = pkgs.linuxPackages_3_17;
   boot.kernelModules = [ "cyapa" "i2c_designware_pci" "i2c_designware_platform" "i2c_designware_core" "i2c_dev" "chromeos_laptop" "i2c_i801" ];

The only problem is that the i2c_i801 module doesn't load at boot time 
because:

nixos systemd-modules-load[1051]: Module 'i2c_i801' is blacklisted

Indeed it is blacklisted in ubuntu.conf:

$ grep i2c_ /etc/modprobe.d/ubuntu.conf
blacklist i2c_i801

After booting, if I manually modprobe the i2c_i801 module, my touchpad 
works.

So my question is, what is the best way to configure NixOS to remove that 
line from ubuntu.conf?

-- 
Russell O'Connor                                      <http://r6.ca/>
``All talk about `theft,''' the general counsel of the American Graphophone
Company wrote, ``is the merest claptrap, for there exists no property in
ideas musical, literary or artistic, except as defined by statute.''


More information about the nix-dev mailing list