MyNixOS website logo
option

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

Define which other containers this one depends on. They will be added to both After and Requires for the unit.

Use the same name as the attribute under virtualisation.oci-containers.containers.

Declarations
Type
list of string
Default
[ ]
Example
virtualisation.oci-containers.containers = {
  node1 = {};
  node2 = {
    dependsOn = [ "node1" ];
  }
}