clan-homepage/static/videos/nixos-install-script.txt
Jörg Thalheim c7a1db4255
All checks were successful
check / test (pull_request) Successful in 14s
rename cLAN to Clan
2024-05-03 12:57:58 +02:00

14 lines
384 B
Plaintext

# Script for installing NixOS VM.
```
$ USE_TMPDIR=1 TMPDIR=$(pwd) nix run .#nixosConfigurations.installer.config.system.build.nixos-shell
$ clan machines install machine-to-install root@localhost:2222
vm> poweroff
qemu-kvm \
-enable-kvm -m 2048 \
-nographic \
-usb -device u2f-passthru
-drive file=disk.img,if=none,id=nvm \
-device nvme,serial=deadbeef,drive=nvm
```