MyNixOS website logo

A set of containers and all its respective configurations. Each option can 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
{
  common-debian = {
    additional_packages = "git";
    entry = true;
    image = "debian:13";
    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 = {
    additional_packages = "libreoffice onlyoffice";
    clone = "common-debian";
    entry = true;
  };
  python-project = {
    additional_packages = "python3 git";
    image = "fedora:40";
    init_hooks = "pip3 install numpy pandas torch torchvision";
  };
  random-things = {
    clone = "common-debian";
    entry = false;
  };
}