MyNixOS website logo
option

services.cassandra.jmxRolesFile

Specify your own jmx roles file.

Make sure the permissions forbid "others" from reading the file if you're using Cassandra below version 3.11.

Declarations
Type
null or path
Default
{
  _type = "literalMD";
  text = "generated configuration file if version is at least 3.11, otherwise `null`";
}
Example
"/var/lib/cassandra/jmx.password"