summary refs log tree commit diff
path: root/nixos/modules/installer/scan/detected.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/installer/scan/detected.nix')
-rw-r--r--nixos/modules/installer/scan/detected.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/nixos/modules/installer/scan/detected.nix b/nixos/modules/installer/scan/detected.nix
new file mode 100644
index 00000000000..5c5fba56f51
--- /dev/null
+++ b/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;
+  };
+}