aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/nixos/modules/installer/scan/detected.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/nixos/modules/installer/scan/detected.nix')
-rw-r--r--nixpkgs/nixos/modules/installer/scan/detected.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/nixpkgs/nixos/modules/installer/scan/detected.nix b/nixpkgs/nixos/modules/installer/scan/detected.nix
new file mode 100644
index 00000000000..5c5fba56f51
--- /dev/null
+++ b/nixpkgs/nixos/modules/installer/scan/detected.nix
@@ -0,0 +1,12 @@
+# List all devices which are detected by nixos-generate-config.
+# Common devices are enabled by default.
+{ lib, ... }:
+
+with lib;
+
+{
+ config = mkDefault {
+ # Common firmware, i.e. for wifi cards
+ hardware.enableRedistributableFirmware = true;
+ };
+}