services.livebook.environment

Environment variables to set.

Livebook is configured through the use of environment variables. The available configuration options can be found in the Livebook documentation.

Note that all environment variables set through this configuration parameter will be readable by anyone with access to the host machine. Therefore, sensitive information like LIVEBOOK_PASSWORD or LIVEBOOK_COOKIE should never be set using this configuration option, but should instead use services.livebook.environmentFile. See the documentation for that option for more information.

Any environment variables specified in the services.livebook.environmentFile will supersede environment variables specified in this option.

Type
attribute set of (null or boolean or signed integer or string)
Default
{ }
Example
{
  LIVEBOOK_PORT = 8080;
}
Declared
<nixpkgs/nixos/modules/services/development/livebook.nix>