diff --git a/nixos/modules/services/web-apps/code-server.nix b/nixos/modules/services/web-apps/code-server.nix index c310fa70b944..3ec119d76b0a 100644 --- a/nixos/modules/services/web-apps/code-server.nix +++ b/nixos/modules/services/web-apps/code-server.nix @@ -86,7 +86,7 @@ in hashedPassword = lib.mkOption { default = ""; description = '' - Create the password with: `echo -n 'thisismypassword' | npx argon2-cli -e`. + Create the password with: {command}`echo -n 'thisismypassword' | nix run nixpkgs#libargon2 -- "$(head -c 20 /dev/random | base64)" -e` ''; type = lib.types.str; };