baremetal: tmp on the same filesystem as hydra store

This commit is contained in:
Yureka 2024-07-20 16:59:17 +02:00
parent f33d828552
commit adaf4b0aef

View file

@ -61,6 +61,11 @@ in
device = "/dev/disk/by-label/hydra"; device = "/dev/disk/by-label/hydra";
fsType = "xfs"; fsType = "xfs";
}; };
# We want the tmp filesystem on the same filesystem as the hydra store, so that builds can use reflinks
fileSystems."/tmp" = {
device = "/mnt/tmp";
options = [ "bind" ];
};
fileSystems."/boot" = { fileSystems."/boot" = {
device = "/dev/disk/by-label/BOOT"; device = "/dev/disk/by-label/BOOT";