3 ms·
My dotfiles in a nutshell. - I want to add a shell function that invoked Claude in a VM via Lima using API keys stored in 1Pass - But that means I need a way
by nunez 4mo ago
My dotfiles in a nutshell.
- I want to add a shell function that invoked Claude in a VM via Lima using API keys stored in 1Pass
- But that means I need a way of templating the YAML file that will define Claude's VM and a reliable way of syncing state between it and my machine
- I could use a templating language like Jinja or Starlark, but that's another dependency for a relatively simple job
- Also, what if I want to use Pi or opencode someday?
- So I spent more time than I care to admit hacking a Bash function that replaces template variables in Lima YAML files that doesn't throw a cow when you throw in single or double quotes.
(I got my Claude VM function thing working, and it works really well!)
- fc417fc802 4mo ago> and a reliable way of syncing state between it and my machine What was your solution for this? Keeping hosts reliably synced across the network is a perpetual source of frustration for me.