gitwtfhub

wtf is guix-qemu-adventures?

rofrol/guix-qemu-adventures — explained in plain English

Analysis updated 2026-05-18

1SchemeAudience · ops devopsComplexity · 4/5Setup · hard

TL;DR

guix-qemu-adventures is a running log of commands and fixes for running a Guix Linux disk image inside QEMU on macOS, covering setup, disk resizing, and display issues.

Mindmap

mindmap
  root((guix-qemu-adventures))
    What it does
      Log of running Guix in QEMU
      Setup scripts
      Troubleshooting notes
    Setup
      Install QEMU via Homebrew
      Download Guix image
      SSH key generation
    Troubleshooting
      Folder sharing with 9p
      Resizing disk images
      SSH host key fixes
    Display
      VNC versus SPICE
      UTM directory sharing
    Audience
      Guix and QEMU tinkerers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Get a Guix system disk image booting inside QEMU on a Mac using the provided scripts.

REASON 2

Fix SSH host key errors or resize a Guix qcow2 image that has run out of space.

REASON 3

Compare SPICE versus VNC for folder sharing and clipboard support when running Guix in a VM on macOS.

What's in the stack?

SchemeQEMUGuixHomebrew

How it stacks up

rofrol/guix-qemu-adventurescristiancmoises/securityops-osra77a3l3-jar/moka.hx
Stars1317
LanguageSchemeSchemeScheme
Setup difficultyhardmoderatemoderate
Complexity4/54/5
Audienceops devopsdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · hard Time to first run · 1h+

Requires QEMU, a downloaded Guix disk image, and comfort troubleshooting virtual machine networking and disk issues.

No license information found in the README.

Wtf does this do

guix-qemu-adventures is a personal log of one person's experience running a Guix system disk image inside QEMU on a Mac. Guix is a Linux based operating system distribution, and this repository is not a packaged tool so much as a running notebook of commands, fixes, and gotchas encountered while getting it to work. The basic setup involves installing QEMU through Homebrew, downloading an official Guix disk image, generating an SSH key for logging into the guest system, and running a provided shell script to boot the virtual machine. A separate script boots the image with a graphical display instead of a plain terminal. Once running, the guest can be reached over SSH on a local port. Most of the README is a running log of specific problems and their fixes: sharing a local folder into the virtual machine using a filesystem protocol called 9p, formatting Guix configuration files, building a new disk image from a configuration file, which can take around 18 minutes, and enlarging a disk image that ran out of space, including steps taken both from outside and inside the guest. Other entries cover clipboard behavior differing between graphical and text only modes, fixing SSH host key warnings after the guest's identity changes, working around an error during a Guix update by pointing at an alternate package mirror, shutting down and rebooting the guest, reconfiguring the system from a configuration file, booting into an older system generation from the boot menu, and shrinking a disk image back down after cleanup. There is also a section comparing display protocols, noting that a separate tool called UTM supports the SPICE display protocol on macOS out of the box, which the author found preferable to VNC for folder sharing and clipboard support with plain QEMU. This is best used as a reference for anyone hitting similar problems while running Guix under QEMU on macOS. No license is stated.

Yoink these prompts

Prompt 1
Walk me through the steps in this repo to boot a Guix qcow2 image in QEMU on my Mac.
Prompt 2
Show me how to enlarge a Guix qcow2 disk image that has run out of space, based on this log.
Prompt 3
Explain how to share a local folder into the QEMU guest using the 9p filesystem approach here.
Prompt 4
How do I fix an SSH host key verification failure after rebuilding my Guix guest image?

Frequently asked questions

wtf is guix-qemu-adventures?

guix-qemu-adventures is a running log of commands and fixes for running a Guix Linux disk image inside QEMU on macOS, covering setup, disk resizing, and display issues.

What language is guix-qemu-adventures written in?

Mainly Scheme. The stack also includes Scheme, QEMU, Guix.

What license does guix-qemu-adventures use?

No license information found in the README.

How hard is guix-qemu-adventures to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is guix-qemu-adventures for?

Mainly ops devops.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.