users.mysql.nss.getpwuid

SQL query for the getpwuid 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 uid='%1$u' \
LIMIT 1
Declared
<nixpkgs/nixos/modules/config/mysql.nix>