Repository navigation
Expand file tree
/
Copy pathbuddy.yaml
More file actions
53 lines (43 loc) · 1.76 KB
/
Copy pathbuddy.yaml
File metadata and controls
53 lines (43 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Docs: https://lima-vm.io/docs/config/
minimumLimaVersion: 2.2.0
# Use only the Ubuntu image definition. Do not inherit template:default or
# template:ubuntu-26.04 here: those templates also inherit Lima's default
# home-directory mount. And we don't want AI to access our home directory.
base:
- template:_images/ubuntu-26.04
# Do not copy the host's proxy environment into the VM: proxy URLs can
# contain credentials, and this VM must not inherit host secrets.
propagateProxyEnv: false
ssh:
# Some apps save the resolved port instead of re-reading ssh.config.
# Keep it stable across VM restarts and rebuilds.
localPort: 49335
forwardAgent: false
loadDotSSHPubKeys: false
# Codex and Claude Code can elevate to root inside the VM
# without receiving or storing the guest user's password.
user:
passwordlessSudo: true
cpus: 8
memory: "10GiB"
# VM's virtual capacity. 100 GiB aren't allocated immediately:
# Lima uses a sparse disk that consumes host space as data is written.
disk: "100GiB"
# Directories of the host exposed to the guest.
mounts:
- location: "~/buddy"
mountPoint: "{{.Home}}/work"
writable: true
# Lima enables rootless containerd by default. This VM does not use containers,
# so keep both system (rootful) and user (rootless) modes off to avoid installing and running an unused runtime.
containerd:
system: false
user: false
# Provisioning scripts need to be idempotent because they might be called
# multiple times, e.g. when the host VM is being restarted.
# The scripts can use the following template variables: {{.Home}}, {{.Name}}, {{.Hostname}}, {{.UID}}, {{.User}}, and {{.Param.Key}}.
provision:
- mode: system # execute as root
file: ./provision/system.sh
- mode: user # execute as the user
file: ./provision/user.sh