diff options
| author | tv <tv@krebsco.de> | 2026-11-16 23:00:02 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-17 00:04:23 +0100 |
| commit | f9f9b3a430b1588e170437c21633d22d5a5d4935 (patch) | |
| tree | 9068b020cd79d048bf267af8127b51c3d7d2f699 /pkgs | |
| parent | 3f1c4b1c43012cd7b38ddc18eec9613e37edd63e (diff) | |
put what nix adds to the guest's store on a disk, optionally persistent
The store's writable layer was a tmpfs, i.e. guest RAM (half of it at
most), and gone with every reboot. Now it's an ext4 file system on a
second drive: by default a sparse scratch file that gets removed when
the guest exits, or with --store FILE one that persists across boots
(created if missing, of --store-size, default 16G). nix's database
lives there, too, so it matches the store, and stale entries get
dropped on first use. The file is locked, so two VMs can't share it.
Diffstat (limited to 'pkgs')
0 files changed, 0 insertions, 0 deletions
