Increase VM defaults, restart VM on new workspace, make rebuild writable

This commit is contained in:
Joshua Bell 2026-01-26 08:52:13 -06:00
parent 9aa72fade7
commit e766c8466d
7 changed files with 35 additions and 364 deletions

View file

@ -9,7 +9,7 @@ Running AI coding agents in isolation presents a security challenge. Containers
**Why QVM?**
- **VM isolation over container isolation** - Hypervisor boundary is fundamentally stronger than kernel namespaces
- **One master image, shared caches** - Single ~7GB base image instead of per-project images
- **One master image, shared caches** - Single ~#GB base image instead of per-project images
- **Transparent workspace mounting** - Current directory automatically available in VM
- **Persistent state** - VM overlay preserves installed tools and configuration
- **Shared build caches** - Cargo, pnpm, and sccache caches shared across all projects
@ -24,7 +24,7 @@ Add QVM to your NixOS configuration:
```nix
{
inputs.qvm.url = "github:yourusername/qvm";
inputs.qvm.url = "git+https://git.joshuabell.xyz/ringofstorms/qvm";
environment.systemPackages = [
inputs.qvm.packages.${system}.default
@ -37,7 +37,7 @@ Add QVM to your NixOS configuration:
Run without installation:
```bash
nix run github:yourusername/qvm -- start
nix run git+https://git.joshuabell.xyz/ringofstorms/nvim -- start
```
### Development shell
@ -45,7 +45,7 @@ nix run github:yourusername/qvm -- start
For local development:
```bash
git clone https://github.com/yourusername/qvm
git clone https://git.joshuabell.xyz/ringofstorms/qvm.git
cd qvm
nix develop
```
@ -358,11 +358,6 @@ qvm start
### Resource Allocation
Default resources:
- **Memory:** 8GB
- **CPUs:** 4 cores
- **Disk:** 20GB
To customize, set environment variables before `qvm start`:
```bash