nixos/code-server: recommend libargon2 over npx argon2-cli

This commit is contained in:
Peder Bergebakken Sundt
2025-03-26 23:09:55 +01:00
parent 38f45de4e2
commit facba1f63a
@@ -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;
};