summary refs log tree commit diff
path: root/nixos/tests/containers-portforward.nix
diff options
context:
space:
mode:
authortalyz <kim.lindberger@gmail.com>2021-10-05 22:32:56 +0200
committerYuka <yuka@yuka.dev>2021-10-28 12:55:01 +0200
commit84839b395f5740789af7a843aaeea80ac2f6f60b (patch)
treec00cc4871b18c7afee30d1e47eac67e9456a110b /nixos/tests/containers-portforward.nix
parent87d8eec0691caf16b924ad7401a29e2783b12896 (diff)
downloadnixpkgs-84839b395f5740789af7a843aaeea80ac2f6f60b.tar
nixpkgs-84839b395f5740789af7a843aaeea80ac2f6f60b.tar.gz
nixpkgs-84839b395f5740789af7a843aaeea80ac2f6f60b.tar.bz2
nixpkgs-84839b395f5740789af7a843aaeea80ac2f6f60b.tar.lz
nixpkgs-84839b395f5740789af7a843aaeea80ac2f6f60b.tar.xz
nixpkgs-84839b395f5740789af7a843aaeea80ac2f6f60b.tar.zst
nixpkgs-84839b395f5740789af7a843aaeea80ac2f6f60b.zip
nixos/qemu-vm: Allow building a Nix store image instead of using 9p
Add the `useNixStoreImage` option, allowing a disk image with the
necessary contents from the Nix store to be built using
make-disk-image.nix. The image will be mounted at `/nix/store` and
acts as a drop-in replacement for the usual 9p mounting of the host's
Nix store.

This removes the performance penalty of 9p, drastically improving
execution speed of applications which do lots of reads from the Nix
store. The caveats are increased disk space usage and image build
time.
Diffstat (limited to 'nixos/tests/containers-portforward.nix')
0 files changed, 0 insertions, 0 deletions