MyNixOS website logo
option

virtualisation.containers.cdi.static

Declarative CDI specification. Each key of the attribute set will be mapped to a file in /etc/cdi. It is required for every key to be provided in JSON format.

Declarations
Type
attribute set
Default
{ }
Example
{
  some-other-vendor = {
    cdiVersion = "0.5.0";
    containerEdits = [ ];
    devices = [ ];
    kind = "some-other-vendor.com/bar";
  };
  some-vendor = {
    cdiVersion = "0.5.0";
    containerEdits = [ ];
    devices = [ ];
    kind = "some-vendor.com/foo";
  };
}