* Add the Intel 5000/6000 firmwares to the installation media.

svn path=/nixos/trunk/; revision=26081
This commit is contained in:
Eelco Dolstra 2011-02-23 19:06:14 +00:00
parent 91f88ba9af
commit 9fca36bfa3
2 changed files with 14 additions and 2 deletions

View File

@ -1,10 +1,15 @@
# List all devices which are _not_ detected by nixos-hardware-scan. # List all devices which are _not_ detected by nixos-hardware-scan.
# Common devices are enabled by default. # Common devices are enabled by default.
{config, pkgs, ...}: { config, pkgs, ... }:
with pkgs.lib; with pkgs.lib;
{ {
imports =
[ ../../hardware/network/intel-5000.nix
../../hardware/network/intel-6000.nix
];
config = mkDefault { config = mkDefault {
# Wireless card firmware # Wireless card firmware
networking.enableRT73Firmware = true; networking.enableRT73Firmware = true;

View File

@ -7,6 +7,13 @@ let
xcfg = config.services.xserver; xcfg = config.services.xserver;
cfg = xcfg.desktopManager.xfce; cfg = xcfg.desktopManager.xfce;
fakeXfdesktop = pkgs.runCommand "xfdesktop" {}
''
mkdir -p $out/bin
echo 'true' > $out/bin/xfdesktop
chmod u+x $out/bin/xfdesktop
'';
in in
{ {
@ -43,7 +50,7 @@ in
}; };
environment.systemPackages = environment.systemPackages =
[ [ fakeXfdesktop
pkgs.gtkLibs.gtk # To get GTK+'s themes. pkgs.gtkLibs.gtk # To get GTK+'s themes.
pkgs.hicolor_icon_theme pkgs.hicolor_icon_theme
pkgs.shared_mime_info pkgs.shared_mime_info