From cb721ac70e237b6a4ed9cc0beb04af9226bc4004 Mon Sep 17 00:00:00 2001 From: Colin Date: Sat, 24 Jun 2023 22:13:23 +0000 Subject: [PATCH] elaborate TODO about OOM: consider placing nix builds in their own subdir --- TODO.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TODO.md b/TODO.md index b31e7e84..fb594cf2 100644 --- a/TODO.md +++ b/TODO.md @@ -61,6 +61,8 @@ - these use significant /tmp space. - either place /tmp on encrypted-cleared-at-boot storage - which probably causes each CPU load for the encryption + - or have nix builds use a subdir of /tmp like /tmp/nix/... + - and place that on non-encrypted clear-on-boot (with very lax writeback/swappiness to minimize writes) - **or set up encrypted swap** - encrypted swap could remove the need for my encrypted-cleared-at-boot stuff