diff --git a/nixos/doc/manual/configuration/network-manager.xml b/nixos/doc/manual/configuration/network-manager.xml
index ceac40b7a1f6..b7e47b8729f3 100644
--- a/nixos/doc/manual/configuration/network-manager.xml
+++ b/nixos/doc/manual/configuration/network-manager.xml
@@ -10,7 +10,7 @@
use NetworkManager. You can enable NetworkManager by setting:
-services.networkmanager.enable = true;
+networking.networkmanager.enable = true;
some desktop managers (e.g., GNOME) enable NetworkManager
@@ -19,8 +19,8 @@ automatically for you.
All users that should have permission to change network settings
must belong to the networkmanager
group.
-services.networkmanager
and
-services.wireless
can not be enabled at the same time:
+networking.networkmanager
and
+networking.wireless
can not be enabled at the same time:
you can still connect to the wireless networks using
NetworkManager.