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
cat /var/log/cloud-init-output.log
cat /var/log/cloud-init.log
ls -la /home/debian/
  1. AS SOON AS IT REBOOTED, start again - it works !
Description
Debian vm for nix-build
Readme 37 KiB
Languages
Nix 100%