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