MyNixOS website logo
option

services.colima.profiles.<name>.settings

Colima configuration settings, see https://github.com/abiosoft/colima/blob/main/embedded/defaults/colima.yaml or run colima template.

Declarations
Type
YAML 1.1 value
Default
{ }
Example
''
  {
    cpu = 2;
    disk = 100;
    memory = 2;
    arch = "host";
    runtime = "docker";
    hostname = null;
    kubernetes = {
      enabled = false;
      version = "v1.33.3+k3s1";
      k3sArgs = [ "--disable=traefik" ];
      port = 0;
    };
    autoActivate = true;
    network = {
      address = false;
      mode = "shared";
      interface = "en0";
      preferredRoute = false;
      dns = [ ];
      dnsHosts = {
        "host.docker.internal" = "host.lima.internal";
      };
      hostAddresses = false;
    };
    forwardAgent = false;
    docker = { };
    vmType = "qemu";
    portForwarder = "ssh";
    rosetta = false;
    binfmt = true;
    nestedVirtualization = false;
    mountType = "sshfs";
    mountInotify = false;
    cpuType = "host";
    provision = [ ];
    sshConfig = true;
    sshPort = 0;
    mounts = [ ];
    diskImage = "";
    rootDisk = 20;
    env = { };
  }
''