services.lldap.settings.database_url
NixOS option
Database URL.
type: null or stringDefault
if config.services.lldap.database.createLocally then if cfg.database.type == "sqlite" then "sqlite://./users.db?mode=rwc" else if cfg.database.type == "postgresql" then "postgresql:///lldap?host=/run/postgresql" else if cfg.database.type == "mariadb" then "mysql://lldap@localhost/lldap?socket=/run/mysqld/mysqld.sock" else null
Example
declared in: nixos/modules/services/databases/lldap.nixView source on NixOS/nixpkgs →"postgres://postgres-user:password@postgres-server/my-database"