summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2022-05-06 16:56:47 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2022-05-06 16:56:47 +0200
commitf4e5bd806439fb7010c4962295a786d61d4af305 (patch)
tree5c5ce50e169f23c25fb9b491a4a954c025f2611f /nixos
parent196c877c8555eb72e52c5a5353a18a710ad00c70 (diff)
downloadnixpkgs-f4e5bd806439fb7010c4962295a786d61d4af305.tar
nixpkgs-f4e5bd806439fb7010c4962295a786d61d4af305.tar.gz
nixpkgs-f4e5bd806439fb7010c4962295a786d61d4af305.tar.bz2
nixpkgs-f4e5bd806439fb7010c4962295a786d61d4af305.tar.lz
nixpkgs-f4e5bd806439fb7010c4962295a786d61d4af305.tar.xz
nixpkgs-f4e5bd806439fb7010c4962295a786d61d4af305.tar.zst
nixpkgs-f4e5bd806439fb7010c4962295a786d61d4af305.zip
nixos/nixos-generate-config: update comment for useDHCP
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/installer/tools/nixos-generate-config.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/installer/tools/nixos-generate-config.pl b/nixos/modules/installer/tools/nixos-generate-config.pl
index 6d32d727501..b74ec838df4 100644
--- a/nixos/modules/installer/tools/nixos-generate-config.pl
+++ b/nixos/modules/installer/tools/nixos-generate-config.pl
@@ -585,8 +585,8 @@ sub generateNetworkingDhcpConfig {
     my $config = <<EOF;
   # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
   # (the default) this is the recommended approach. When using systemd-networkd it's
-  # still possible to use this option, but it's recommended to explicitly set it
-  # per-interface using `networking.interfaces.<interface>.useDHCP`.
+  # still possible to use this option, but it's recommended to use it in conjunction
+  # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
   networking.useDHCP = lib.mkDefault true;
 EOF