users.mysql.nss.getpwnam

SQL query for the getpwnam syscall.

Type
null or string
Default
null
Example
SELECT username,'x',uid,'5000','MySQL User', CONCAT('/home/',username),'/run/sw/current-system/bin/bash' \
FROM users \
WHERE username='%1$s' \
LIMIT 1
Declared
<nixpkgs/nixos/modules/config/mysql.nix>