2026-02-07 23:56:42 +02:00
2026-02-07 23:56:42 +02:00
2026-02-07 23:53:51 +02:00

Nix VM with Debian + GUI

Username: debian Password: nixos

  1. Clean the VM: nh clean all rm ~/.local/share/debian-vm/debian-persistent.qcow2

  2. Build the VM:

nix-build vm.nix -A system.build.customVM
  1. Run the VM:
./result/bin/run-debian-vm
  1. Watch it unravel:
ssh debian@localhost -p 2222
# Inside VM after SSH
watch -n 1 "cat /var/log/cloud-init-output.log | tail"
cat /var/log/cloud-init.log
ls -la /home/debian/
Description
Debian vm for nix-build
Readme 37 KiB
Languages
Nix 100%