From 984a25c1114cbf8996c3fad721e81790d490b46e Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Sat, 4 May 2024 22:45:51 +0200 Subject: [PATCH] Delete /tmp dir on boot --- nixos/configuration.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 01fd2c5..b4c8fd4 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -13,10 +13,13 @@ in { imports = thirdImports; # Bootloader. - boot.loader.efi.canTouchEfiVariables = true; - boot.loader.systemd-boot = { - enable = true; - consoleMode = "auto"; + boot = { + loader.efi.canTouchEfiVariables = true; + loader.systemd-boot = { + enable = true; + consoleMode = "auto"; + }; + cleanTmpDir = true; }; networking.networkmanager.enable = true;