Skip to content

Instantly share code, notes, and snippets.

@vfarcic
Created June 1, 2026 10:02
Show Gist options
  • Select an option

  • Save vfarcic/9b23deb076284ca54fbc378f664167dc to your computer and use it in GitHub Desktop.

Select an option

Save vfarcic/9b23deb076284ca54fbc378f664167dc to your computer and use it in GitHub Desktop.
uni.md
## Setup
```sh
git clone https://github.com/vfarcic/infra-with-ai
cd infra-with-ai
```
> Make sure that Docker is up-and-running. We'll use it to create a KinD cluster.
> Watch [Nix for Everyone: Unleash Devbox for Simplified Development](https://youtu.be/WiFLtcBvGMU) if you are not familiar with Devbox. Alternatively, you can skip Devbox and install all the tools listed in `devbox.json` yourself.
```sh
devbox shell
chmod +x dot.nu
./dot.nu setup
source .env
git switch agents
```
> Install [OpenCode Terminal](https://opencode.ai/download), type `/connect` to connect it to your favorite AI provider, and `/model` to select which model to use.
```sh
opencode
```
## Destroy
```text
Destroy everything we created.
exit
```
```sh
git switch main
gh repo delete infra-with-ai-gitops
./dot.nu destroy
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment