MyNixOS website logo
option

virtualisation.oci-containers.containers.<name>.environment

Environment variables to set for this container.

Declarations
Type
attribute set of string
Default
{ }
Example
{
  DATABASE_HOST = "db.example.com";
  DATABASE_PORT = "3306";
}