summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorSvein Ove Aas <sveina@gmail.com>2018-01-21 17:43:41 +0000
committerSvein Ove Aas <>2018-01-21 17:43:41 +0000
commit5c5259d68df6b39e43c47b430011e321a8f35040 (patch)
tree005b6b45d0785562528184f710f8442437bd98aa /nixos/modules/system
parent9858950687a83f325fbda07b8dce866cae1d253f (diff)
downloadnixlib-5c5259d68df6b39e43c47b430011e321a8f35040.tar
nixlib-5c5259d68df6b39e43c47b430011e321a8f35040.tar.gz
nixlib-5c5259d68df6b39e43c47b430011e321a8f35040.tar.bz2
nixlib-5c5259d68df6b39e43c47b430011e321a8f35040.tar.lz
nixlib-5c5259d68df6b39e43c47b430011e321a8f35040.tar.xz
nixlib-5c5259d68df6b39e43c47b430011e321a8f35040.tar.zst
nixlib-5c5259d68df6b39e43c47b430011e321a8f35040.zip
initrd-network: Document the need for modules
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/initrd-network.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/initrd-network.nix b/nixos/modules/system/boot/initrd-network.nix
index 6e226c190609..bb50d3c57b31 100644
--- a/nixos/modules/system/boot/initrd-network.nix
+++ b/nixos/modules/system/boot/initrd-network.nix
@@ -40,6 +40,10 @@ in
         kernel documentation</link>.  Otherwise, if
         <option>networking.useDHCP</option> is enabled, an IP address
         is acquired using DHCP.
+
+        You should add the module(s) required for your network card to
+        boot.initrd.availableKernelModules. lspci -v -s <ethernet controller>
+        will tell you which.
       '';
     };