From 062200f2f486ddaa0800bd66b3c7cb48645c1e1f Mon Sep 17 00:00:00 2001 From: chaos Date: Sat, 25 May 2024 15:44:09 +0100 Subject: [PATCH] don't use tmpfs for /tmp, instead clean /tmp on every boot --- profiles/base/boot.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/profiles/base/boot.nix b/profiles/base/boot.nix index 3213166..39d5310 100644 --- a/profiles/base/boot.nix +++ b/profiles/base/boot.nix @@ -1,6 +1,3 @@ -{config, ...}: { - boot.tmp.useTmpfs = - if config ? "wsl" && config.wsl.enable - then false - else true; +{...}: { + boot.tmp.cleanOnBoot = true; }