nixos/code-server: recommend libargon2 over `npx argon2-cli` (#388640)

authored by Peder Bergebakken Sundt and committed by GitHub a41310e2 9ee43290

+1 -1
+1 -1
nixos/modules/services/web-apps/code-server.nix
··· 86 86 hashedPassword = lib.mkOption { 87 87 default = ""; 88 88 description = '' 89 - Create the password with: `echo -n 'thisismypassword' | npx argon2-cli -e`. 89 + Create the password with: {command}`echo -n 'thisismypassword' | nix run nixpkgs#libargon2 -- "$(head -c 20 /dev/random | base64)" -e` 90 90 ''; 91 91 type = lib.types.str; 92 92 };