From c218d3be38381d006154a2d2f0d2b99c0f078318 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Sat, 25 Jun 2022 15:45:52 +0200 Subject: Clean tmp dir on boot --- hosts/configuration.nix | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'hosts') diff --git a/hosts/configuration.nix b/hosts/configuration.nix index a725990..746e647 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -8,17 +8,20 @@ ../modules/virtualisation ]; - # Use the systemd-boot boot loader. - boot.loader = { - systemd-boot = { - enable = true; - editor = false; - }; - efi = { - efiSysMountPoint = "/boot"; - canTouchEfiVariables = true; + boot = { + loader = { + systemd-boot = { + enable = true; + editor = false; + }; + efi = { + efiSysMountPoint = "/boot"; + canTouchEfiVariables = true; + }; + timeout = 0; }; - timeout = 0; + + cleanTmpDir = true; }; # Set your time zone. -- cgit 1.4.1