services.mattermost.database.extraConnectionOptions
Extra options that are placed in the connection URI's query parameters.
- Type
attribute set of (signed integer or string)- Default
'' if config.mattermost.database.driver == "postgres" then { sslmode = "disable"; connect_timeout = 60; } else if config.mattermost.database.driver == "mysql" then { charset = "utf8mb4"; writeTimeout = "60s"; readTimeout = "60s"; } else throw "Invalid database driver"; ''- Declared
- <nixpkgs/nixos/modules/services/web-apps/mattermost.nix>