diff --git a/nixos/modules/services/networking/mosquitto.nix b/nixos/modules/services/networking/mosquitto.nix
index 5451500b56f6..81915b5a2ef8 100644
--- a/nixos/modules/services/networking/mosquitto.nix
+++ b/nixos/modules/services/networking/mosquitto.nix
@@ -125,8 +125,8 @@ in
description = ''
Specifies the hashed password for the MQTT User.
overrides .
- To generate hashed password install mkpasswd
- package and run mkpasswd -m sha-512.
+ To generate hashed password install mosquitto
+ package and use mosquitto_passwd.
'';
};