From 82f5d828c20436c2d3d150d782a326c3e0326c0e Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Tue, 21 Nov 2023 23:56:55 +0100 Subject: [PATCH] Use tmpfs in /tmp The /tmp directory was using the SSD disk which is not erased across boots. Nix will use /tmp to perform the builds, so we want it to be as fast as possible. In general, all the machines have enough space to handle large builds like LLVM. Reviewed-by: Aleix Roca Nonell --- m/common/fs.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/m/common/fs.nix b/m/common/fs.nix index 10339d0..c6fea28 100644 --- a/m/common/fs.nix +++ b/m/common/fs.nix @@ -25,4 +25,7 @@ device = "none"; fsType = "tracefs"; }; + + # Mount a tmpfs into /tmp + boot.tmp.useTmpfs = true; }