diff options
author | Nicolas Pierron <nicolas.b.pierron@gmail.com> | 2010-09-25 09:32:37 +0000 |
---|---|---|
committer | Nicolas Pierron <nicolas.b.pierron@gmail.com> | 2010-09-25 09:32:37 +0000 |
commit | cf103b8d4df4c5f364f8e9bb9682a21c925bc2e6 (patch) | |
tree | ede776c129161a81664eb6808caab754d9f2a873 /modules/installer/scan | |
parent | c90a7b9be45e4ea6ab8da01d8024f8fa9b4b7d07 (diff) | |
download | nixpkgs-cf103b8d4df4c5f364f8e9bb9682a21c925bc2e6.tar nixpkgs-cf103b8d4df4c5f364f8e9bb9682a21c925bc2e6.tar.gz nixpkgs-cf103b8d4df4c5f364f8e9bb9682a21c925bc2e6.tar.bz2 nixpkgs-cf103b8d4df4c5f364f8e9bb9682a21c925bc2e6.tar.lz nixpkgs-cf103b8d4df4c5f364f8e9bb9682a21c925bc2e6.tar.xz nixpkgs-cf103b8d4df4c5f364f8e9bb9682a21c925bc2e6.tar.zst nixpkgs-cf103b8d4df4c5f364f8e9bb9682a21c925bc2e6.zip |
Add 2 index file to define the default case for detected and not-detected
devices. These are used to replace hand made listings in the basic installation CD. The configuration file, which is generated by nixos-hardware-scan, enables not-detected devices by default. svn path=/nixos/trunk/; revision=23911
Diffstat (limited to 'modules/installer/scan')
-rw-r--r-- | modules/installer/scan/detected.nix | 13 | ||||
-rw-r--r-- | modules/installer/scan/not-detected.nix | 12 |
2 files changed, 25 insertions, 0 deletions
diff --git a/modules/installer/scan/detected.nix b/modules/installer/scan/detected.nix new file mode 100644 index 00000000000..09d04608e68 --- /dev/null +++ b/modules/installer/scan/detected.nix @@ -0,0 +1,13 @@ +# List all devices which are detected by nixos-hardware-scan. +# Common devices are enabled by default. +{config, pkgs, ...}: + +with pkgs.lib; + +{ + config = mkDefault { + # Wireless card firmware + networking.enableIntel2200BGFirmware = true; + networking.enableIntel3945ABGFirmware = true; + }; +} diff --git a/modules/installer/scan/not-detected.nix b/modules/installer/scan/not-detected.nix new file mode 100644 index 00000000000..3a4a7f40fc6 --- /dev/null +++ b/modules/installer/scan/not-detected.nix @@ -0,0 +1,12 @@ +# List all devices which are _not_ detected by nixos-hardware-scan. +# Common devices are enabled by default. +{config, pkgs, ...}: + +with pkgs.lib; + +{ + config = mkDefault { + # Wireless card firmware + networking.enableRT73Firmware = true; + }; +} |