users.mysql.nss.getpwuid
NixOS option
SQL query for the getpwuid syscall.
type: null or stringDefault
null
Example
declared in: nixos/modules/config/mysql.nixView source on NixOS/nixpkgs →SELECT username,'x',uid,'5000','MySQL User', CONCAT('/home/',username),'/run/sw/current-system/bin/bash' \
FROM users \
WHERE uid='%1$u' \
LIMIT 1