summary refs log tree commit diff
path: root/nixos/modules/tasks/network-interfaces.nix
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2019-09-24 09:36:49 +0200
committerRobin Gloster <mail@glob.in>2019-09-24 10:20:17 +0200
commite862dd637350ddd1812a6c1fb5811c6464e74ff5 (patch)
tree5271dced2edf95174a87d647524489569a7d7a1e /nixos/modules/tasks/network-interfaces.nix
parentc26c6241eae93985c33590401fda971d7574c136 (diff)
downloadnixpkgs-e862dd637350ddd1812a6c1fb5811c6464e74ff5.tar
nixpkgs-e862dd637350ddd1812a6c1fb5811c6464e74ff5.tar.gz
nixpkgs-e862dd637350ddd1812a6c1fb5811c6464e74ff5.tar.bz2
nixpkgs-e862dd637350ddd1812a6c1fb5811c6464e74ff5.tar.lz
nixpkgs-e862dd637350ddd1812a6c1fb5811c6464e74ff5.tar.xz
nixpkgs-e862dd637350ddd1812a6c1fb5811c6464e74ff5.tar.zst
nixpkgs-e862dd637350ddd1812a6c1fb5811c6464e74ff5.zip
networking.useDHCP: add release notes and docs
Diffstat (limited to 'nixos/modules/tasks/network-interfaces.nix')
-rw-r--r--nixos/modules/tasks/network-interfaces.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/modules/tasks/network-interfaces.nix b/nixos/modules/tasks/network-interfaces.nix
index 5bf7b0d227f..834ce758410 100644
--- a/nixos/modules/tasks/network-interfaces.nix
+++ b/nixos/modules/tasks/network-interfaces.nix
@@ -903,6 +903,11 @@ in
         Whether to use DHCP to obtain an IP address and other
         configuration for all network interfaces that are not manually
         configured.
+
+        Using this option is highly discouraged and also incompatible with
+        <option>networking.useNetworkd</option>. Please use
+        <option>networking.interfaces.&lt;name&gt;.useDHCP</option> instead
+        and set this to false.
       '';
     };