users.mysql.nss.getpwnam
NixOS option
SQL query for the getpwnam 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 username='%1$s' \
LIMIT 1