aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/run-rig/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-23 03:09:47 +0000
committertv <tv@krebsco.de>2026-11-23 03:09:47 +0000
commit80ba3bf268599935af96318c9eb051245640986c (patch)
tree84a01169919149267fbc08b85ca14eed8e5894f5 /pkgs/run-rig/default.nix
parent86561dbdd2a91b1d0bc5e3f9fa1fab5331ccd3ec (diff)
run-firecracker-vm: the store's layers as lowerdir+=, not one lowerdir
NixOS's overlay.lowerdir makes the store's lower layers a single mount option, lowerdir=/sysroot/nix/.image/0:..., which util-linux passes with the new mount API, which caps a string option at 255 bytes: at most 11 images, 10 with nix. Now the base system generates the store's mount from the layers, a lowerdir+= each (kernel 6.8 and later), which has that limit per path only (tested in a user namespace: 30 long paths, 4470 bytes, mount; a single lowerdir of them doesn't; and lowerdir+= can't follow lowerdir=, so it's one or the other). The limit is now Firecracker's number of devices. The lower layers are fc.storeLowerdirs: the images first, as reading them is fast, then what layers add, like layers/nix.nix the host's store, which also adds its upper layer to the options, created by fc-rw-store-unshadow now (NixOS's service for that comes only with overlay.lowerdir).
Diffstat (limited to 'pkgs/run-rig/default.nix')
0 files changed, 0 insertions, 0 deletions