Files
nix-debvm/README.md
kenny e5ae18155a Working version: Jupyter exposed on host
unattended install achieved !
2026-02-08 00:40:08 +02:00

25 lines
460 B
Markdown

Nix VM with Debian + GUI
Username: `debian`
Password: `nixos`
0. Clean the VM:
`nh clean all`
`rm ~/.local/share/debian-vm/debian-persistent.qcow2`
1. Build the VM:
```bash
nix-build vm.nix -A system.build.customVM
```
2. Run the VM:
```bash
./result/bin/run-debian-vm
```
3. Watch it unravel:
```bash
ssh debian@localhost -p 2222
# Inside VM after SSH
watch -n 1 "cat /var/log/cloud-init-output.log | tail"
```
4. After a while, the Jupyter URL will spawn