security.loginDefs.settings.ENCRYPT_METHOD

NixOS option

This defines the system default encryption algorithm for encrypting passwords.

type: one of "YESCRYPT", "SHA512", "SHA256", "MD5", "DES"
Default
"YESCRYPT"
declared in: nixos/modules/programs/shadow.nixView source on NixOS/nixpkgs →