It would be nice for the VM to have access to den setup. #104
Answered
by
vic
vic
asked this question in
Ideas / Feature Requests
|
For example, boot the VM and use it to edit and nixos-rebuild. It should be possible to mount the host directory into the VM. Perhaps using: According to the docs, it is possible to run linux on Mac, and I believe I once saw a flake for running a macOS with a flake. But maybe, just maybe this is just too much for Den, lets keep default template minimal and provide extra functionality like this in denful. |
Answered by
vic
Nov 18, 2025
Replies: 1 comment
|
It is already possible you don't need anything extra from what we have today. I used the following to successfully mount my # run the VM with virtfs, the tag is important
nix run .#vm -- -virtfs local,path=$PWD,mount_tag=den,security_model=mapped-xattrAnd then inside the VM: mkdir den
sudo mount -t 9p -o trans=virtio den den
cd den/
vim .
nixos-rebuild switch --flake $PWD |
0 replies
Answer selected by
vic
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is already possible you don't need anything extra from what we have today.
I used the following to successfully mount my
denconfiguration and be able to edit from within the VM:And then inside the VM: