Skip to content
Discussion options

You must be logged in to vote

It is already possible you don't need anything extra from what we have today.

I used the following to successfully mount my den configuration and be able to edit from within the VM:

# run the VM with virtfs, the tag is important
nix run .#vm -- -virtfs local,path=$PWD,mount_tag=den,security_model=mapped-xattr

And then inside the VM:

mkdir den
sudo mount -t 9p -o trans=virtio den den
cd den/
vim .
nixos-rebuild switch --flake $PWD 

Replies: 1 comment

Comment options

vic
Nov 18, 2025
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by vic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
1 participant
Converted from issue

This discussion was converted from issue #102 on November 18, 2025 17:41.