From fa9d9dc44ef0344a81e959cd31fc6328889dc328 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Fri, 30 Aug 2024 08:44:54 +0200 Subject: [PATCH] pinwheel: Clean `/tmp` on boot --- hosts/pinwheel/modules/boot/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/pinwheel/modules/boot/default.nix b/hosts/pinwheel/modules/boot/default.nix index be3ea08..c3c9e15 100644 --- a/hosts/pinwheel/modules/boot/default.nix +++ b/hosts/pinwheel/modules/boot/default.nix @@ -27,6 +27,8 @@ in boot = { kernelPackages = pkgs.linuxPackages_latest; + tmp.cleanOnBoot = true; + kernel = { sysctl = { "fs.inotify.max_user_instances" = 1024; # default: 128