services.spark.worker.extraEnvironment
NixOS option
Extra environment variables to pass to spark worker.
type: attribute set of stringDefault
{ }Example
declared in: nixos/modules/services/cluster/spark/default.nixView source on NixOS/nixpkgs →{
SPARK_WORKER_CORES = 5;
SPARK_WORKER_MEMORY = "2g";
}