Rodrigo Arias Mallo
483ad2944b
The image needs to be available to the guest with a partition table and a partition with a label named "nixos" so the stage1 can mount it. By enabling the virtualisation.diskImage option we now have a persistent root filesystem, including /home. |
||
---|---|---|
.gitignore | ||
boot.sh | ||
configuration.nix | ||
flake.lock | ||
flake.nix | ||
no-compressed.nix | ||
NOTES.md | ||
overlay.nix | ||
README.md | ||
vm.nix |
NixOS on RISC-V
To boot the system in QEMU, first enter the development shell:
$ nix develop
Then run the boot script:
$ ./boot.sh