Configuration
HYPR is configured through environment variables and file paths.Environment Variables
Core Settings
Logging
Examples:
Observability
Enable tracing:
File Paths
Data Directory
Default:/var/lib/hypr
Override with HYPR_DATA_DIR:
Runtime Directory
Default:/run/hypr (Linux) or /tmp/hypr (macOS)
Override with HYPR_RUNTIME_DIR:
Service Ports
All HYPR services use ports in the 41000-41999 range.VM Resources
Default Resources
When not specified, VMs use these defaults:Override at Runtime
Override in Compose
Network Configuration
Linux
macOS
Custom Networks
Create networks with custom subnets:Volume Configuration
Default Storage
Volumes are stored in/var/lib/hypr/volumes/:
- Standalone volumes:
/var/lib/hypr/volumes/local/<name> - Stack volumes:
/var/lib/hypr/volumes/<stack>/<name>
Volume Driver
Currently only thelocal driver is supported, which stores data on the host filesystem.
Kernel Configuration
HYPR downloads a custom-built Linux kernel on first use. Kernel version: 6.12 Features enabled:- SquashFS with compression
- OverlayFS
- virtio drivers (blk, net, vsock, fs)
- Container namespaces
- Memory ballooning
- x86_64:
vmlinux-x86_64 - ARM64:
Image-aarch64
Systemd Configuration (Linux)
Service file location:/etc/systemd/system/hyprd.service
LaunchDaemon Configuration (macOS)
Plist location:/Library/LaunchDaemons/ai.hypr.hyprd.plist
DNS Resolution
HYPR runs a DNS server for.hypr domain resolution on port 41003.
Linux setup (systemd-resolved):
Database Configuration
HYPR uses SQLite for state persistence. Location:/var/lib/hypr/hypr.db
Tables:
vms- VM recordsimages- Image metadatastacks- Compose stacksnetworks- Network definitionsvolumes- Volume metadata