about summary refs log tree commit diff
path: root/nixos/modules/tasks
diff options
context:
space:
mode:
authordigital <git-voopaipa@dinid.net>2022-09-15 18:07:24 +0200
committerdigital <git-voopaipa@dinid.net>2022-09-15 18:07:24 +0200
commit12d64e041b4f97e936a560fe624695a57d8338f3 (patch)
treece7ea1ac55635a21a8108d8d17194cc1b113adfd /nixos/modules/tasks
parent1637945189070199494480264357738cc946c70c (diff)
nixos/networking: add a suggestion to use networkd options
Diffstat (limited to 'nixos/modules/tasks')
-rw-r--r--nixos/modules/tasks/network-interfaces.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/tasks/network-interfaces.nix b/nixos/modules/tasks/network-interfaces.nix
index e2a17c246bd94..6f01917bcc59f 100644
--- a/nixos/modules/tasks/network-interfaces.nix
+++ b/nixos/modules/tasks/network-interfaces.nix
@@ -604,6 +604,10 @@ in
         The configuration for each network interface.  If
         {option}`networking.useDHCP` is true, then every
         interface not listed here will be configured using DHCP.
+
+        Please note that {option}`systemd.network.netdevs` has more features
+        and is better maintained. When building new things, it is advised to
+        use that instead.
       '';
       type = with types; attrsOf (submodule interfaceOpts);
     };