Lets start a (hopefully not too painful!) #Guix adventure thread!

I downloaded the latest VM image (1.4.0), started up QEMU like this:

qemu-system-x86_64 
-nic user,model=virtio-net-pci,hostfwd=tcp::10022-:22
--enable-kvm
-m 2048
-device virtio-blk,drive=guix -drive if=none,file=guix-system-vm-image-1.4.0.x86_64-linux.qcow2,id=guix

Boots up fine, gets an IP, nice. But there's no SSH running, so I can't log in. Lets try adding one!

@algernon Well, I do not know which system you are currently running but I would suggest to install Guix (the package manager on steriod) on the top of it. For example "apt install guix" or the bash script guix -install.sh.

This way, from your current system, you can run "guix system" to build QEMU images and run them. It greatly smooths the experience, IMHO. 😁

When you are done and not sold to Guix, you can just uninstall it from your current system.

https://guix.gnu.org/manual/devel/en/guix.html#Binary-Installation

The documentation says I should add an SSH server. The linked page there doesn't tell me much about how, though.

I figured I'll copy /run/current-system/configuration.scm somewhere, edit it, and guix system reconfigure /etc/config.scm.

But alas, that ends with:

Git error: unsupported URL protocol

In the traceback above, I see references to /home/ludo/. I suppose it is trying to fetch channels from there or something?

Somewhat surprisingly, the download part was the fastest. It was done in about 2 minutes, pulling from Codeberg. It took a lot longer to do the post-download git stuff, and now it is running Authentication on ~58k commits, and that's taking a bit too.

But at least it is moving, unlike when I tried to pull from Savannah, so that's something!

2+ more replies (not shown)

Had to restart the VM, because it did run out of ram. After guix pull --url https://codeberg.org/guix/guix, guix system reconfigure /etc/config.scm no longer fails early. It is busy computing the derivation now, so I will have SSH soon!

And then I can continue doing what I wanted to do with it in the first place.