summary refs log tree commit diff
path: root/nixos/modules/system/boot/initrd-network.nix
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/boot/initrd-network.nix
parent9858950687a83f325fbda07b8dce866cae1d253f (diff)
downloadnixpkgs-5c5259d68df6b39e43c47b430011e321a8f35040.tar
nixpkgs-5c5259d68df6b39e43c47b430011e321a8f35040.tar.gz
nixpkgs-5c5259d68df6b39e43c47b430011e321a8f35040.tar.bz2
nixpkgs-5c5259d68df6b39e43c47b430011e321a8f35040.tar.lz
nixpkgs-5c5259d68df6b39e43c47b430011e321a8f35040.tar.xz
nixpkgs-5c5259d68df6b39e43c47b430011e321a8f35040.tar.zst
nixpkgs-5c5259d68df6b39e43c47b430011e321a8f35040.zip
initrd-network: Document the need for modules
Diffstat (limited to 'nixos/modules/system/boot/initrd-network.nix')
-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 6e226c19060..bb50d3c57b3 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.
       '';
     };