aboutsummaryrefslogtreecommitdiffstats
path: root/modules/host/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-16 23:00:02 +0000
committertv <tv@krebsco.de>2026-11-17 00:04:23 +0100
commitf9f9b3a430b1588e170437c21633d22d5a5d4935 (patch)
tree9068b020cd79d048bf267af8127b51c3d7d2f699 /modules/host/default.nix
parent3f1c4b1c43012cd7b38ddc18eec9613e37edd63e (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 'modules/host/default.nix')
0 files changed, 0 insertions, 0 deletions