From 6086aee542c2d475c65688a9e7d65cb2b2b7d71a Mon Sep 17 00:00:00 2001 From: Nicolas Pierron Date: Sun, 25 Jan 2009 15:48:53 +0000 Subject: [PATCH] * The Linux kernel >= 2.6.27 provides firmware, so add it to the firmware search path. (Patch from Eelco Dolstra) svn path=/nixos/branches/fix-style/; revision=13855 --- system/kernel.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/system/kernel.nix b/system/kernel.nix index 6fd20a820f7..ec5b9a63787 100644 --- a/system/kernel.nix +++ b/system/kernel.nix @@ -157,4 +157,11 @@ in ++ pkgs.lib.optional config.hardware.enableGo7007 kernelPackages.wis_go7007 ++ config.boot.extraModulePackages; }; + + services = { + udev = { + # The Linux kernel >= 2.6.27 provides firmware + addFirmware = [ "${kernel}/lib/firmware" ]; + }; + }; }