MyNixOS website logo

A set of containers and all its respective configurations. Each option cat be either a bool, string or a list of strings. If passed a list, the option will be repeated for each element. See common-debian in the example config. All the available options for the containers can be found in the distrobox-assemble documentation at https://github.com/89luca89/distrobox/blob/main/docs/usage/distrobox-assemble.md.

Declarations
Type
attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string) or a list of them for duplicate keys)
Default
{ }
Example
''
  {
    python-project = {
      image = "fedora:40";
      additional_packages = "python3 git";
      init_hooks = "pip3 install numpy pandas torch torchvision";
    };
  
    common-debian = {
      image = "debian:13";
      entry = true;
      additional_packages = "git";
      init_hooks = [
        "ln -sf /usr/bin/distrobox-host-exec /usr/local/bin/docker"
        "ln -sf /usr/bin/distrobox-host-exec /usr/local/bin/docker-compose"
      ];
    };
  
    office = {
      clone = "common-debian";
      additional_packages = "libreoffice onlyoffice";
      entry = true;
    };
  
    random-things = {
      clone = "common-debian";
      entry = false;
    };
  }
''