feat: add KVM/libvirt support for staging VM #42

Closed
Hermes wants to merge 1 commits from feat/kvm-libvirt into master
Collaborator

Summary

Add KVM and libvirt support to the lazyworkhorse host configuration.

Changes

  • boot.kernelModules: added kvm-intel and kvm
  • virtualisation.libvirtd.enable: enabled
  • users/ai-worker.nix: added ai-worker to libvirtd group

Prerequisites

BIOS must have Intel VT-x enabled. After reboot, verify:

ls /dev/kvm
systemctl status libvirtd

Next Steps (separate PR)

  • Define nixosConfigurations.staging for the staging VM
  • Set up VM disk and network
  • CI deployment to staging

See .hermes/plans/staging-vm-ci-cd-plan.md for the full plan.

## Summary Add KVM and libvirt support to the lazyworkhorse host configuration. ## Changes - **boot.kernelModules**: added kvm-intel and kvm - **virtualisation.libvirtd.enable**: enabled - **users/ai-worker.nix**: added ai-worker to libvirtd group ## Prerequisites BIOS must have Intel VT-x enabled. After reboot, verify: ``` ls /dev/kvm systemctl status libvirtd ``` ## Next Steps (separate PR) - Define nixosConfigurations.staging for the staging VM - Set up VM disk and network - CI deployment to staging See `.hermes/plans/staging-vm-ci-cd-plan.md` for the full plan.
Hermes added 1 commit 2026-05-12 23:17:03 +00:00
- Load kvm-intel and kvm kernel modules
- Enable libvirtd service
- Add ai-worker to libvirtd group

Requires Intel VT-x to be enabled in BIOS.
After reboot: verify /dev/kvm exists, then deploy staging VM.
Hermes closed this pull request 2026-05-16 16:04:52 +00:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gortium/infra#42
No description provided.