mirror of
https://github.com/cupcakearmy/nix-macos.git
synced 2026-11-22 11:03:42 +00:00
fix colima setup
This commit is contained in:
+13
-13
@@ -10,7 +10,7 @@ disk: 100
|
||||
|
||||
# Size of the memory in GiB to be allocated to the virtual machine.
|
||||
# Default: 2
|
||||
memory: 4
|
||||
memory: 8
|
||||
|
||||
# Architecture of the virtual machine (x86_64, aarch64, host).
|
||||
#
|
||||
@@ -42,17 +42,17 @@ kubernetes:
|
||||
# Enable kubernetes.
|
||||
# Default: false
|
||||
enabled: false
|
||||
|
||||
|
||||
# Kubernetes version to use.
|
||||
# This needs to exactly match a k3s version https://github.com/k3s-io/k3s/releases
|
||||
# Default: latest stable release
|
||||
version: v1.33.3+k3s1
|
||||
|
||||
|
||||
# Additional args to pass to k3s https://docs.k3s.io/cli/server
|
||||
# Default: traefik is disabled
|
||||
k3sArgs:
|
||||
- --disable=traefik
|
||||
|
||||
|
||||
# Kubernetes port to listen on
|
||||
# A common port is 6443, though left unbound to ensure no port conflicts
|
||||
# Default: pick random unbound port
|
||||
@@ -72,23 +72,23 @@ network:
|
||||
# NOTE: this is currently macOS only and ignored on Linux.
|
||||
# Default: false
|
||||
address: false
|
||||
|
||||
|
||||
# Network mode for the virtual machine (shared, bridged).
|
||||
# NOTE: this is currently macOS only and ignored on Linux.
|
||||
# Default: shared
|
||||
mode: shared
|
||||
|
||||
|
||||
# Network interface to use for bridged mode.
|
||||
# This is only used when mode is set to bridged.
|
||||
# NOTE: this is currently macOS only and ignored on Linux.
|
||||
# Default: en0
|
||||
interface: en0
|
||||
|
||||
|
||||
# Use the assigned IP address as the preferred route for the VM.
|
||||
# Note: this only has an effect when `address` is set to true.
|
||||
# Default: false
|
||||
preferredRoute: false
|
||||
|
||||
|
||||
# Custom DNS resolvers for the virtual machine.
|
||||
#
|
||||
# EXAMPLE
|
||||
@@ -96,7 +96,7 @@ network:
|
||||
#
|
||||
# Default: []
|
||||
dns: []
|
||||
|
||||
|
||||
# DNS hostnames to resolve to custom targets using the internal resolver.
|
||||
# This setting has no effect if a custom DNS resolver list is supplied above.
|
||||
# It does not configure the /etc/hosts files of any machine or container.
|
||||
@@ -107,7 +107,7 @@ network:
|
||||
# example.com: 1.2.3.4
|
||||
dnsHosts:
|
||||
host.docker.internal: host.lima.internal
|
||||
|
||||
|
||||
# Replicate host IP addresses in the VM. This enables port forwarding to specific
|
||||
# host IP addresses.
|
||||
# e.g. `docker run --port 10.0.1.2:8080:8080 alpine` would only forward to the
|
||||
@@ -115,7 +115,7 @@ network:
|
||||
#
|
||||
# Default: false
|
||||
hostAddresses: false
|
||||
|
||||
|
||||
# Custom gateway address for the virtual machine.
|
||||
# The last octet needs to be 2.
|
||||
#
|
||||
@@ -160,7 +160,7 @@ docker: {}
|
||||
#
|
||||
# NOTE: value cannot be changed after virtual machine is created.
|
||||
# Default: qemu
|
||||
vmType: qemu
|
||||
vmType: vz
|
||||
|
||||
# Port forwarder for the virtual machine (ssh, grpc, none).
|
||||
# ssh is more stable but supports only TCP.
|
||||
@@ -193,7 +193,7 @@ nestedVirtualization: false
|
||||
#
|
||||
# NOTE: value cannot be changed after virtual machine is created.
|
||||
# Default: virtiofs (for vz), sshfs (for qemu)
|
||||
mountType: sshfs
|
||||
mountType: virtiofs
|
||||
|
||||
# Propagate inotify file events to the VM.
|
||||
# NOTE: this is experimental.
|
||||
|
||||
Reference in New Issue
Block a user