services.lldap.settings.database_url
Database URL.
- Type
null or string- Default
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
"postgres://postgres-user:password@postgres-server/my-database"- Declared
- <nixpkgs/nixos/modules/services/databases/lldap.nix>