about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-06-25 15:45:52 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-06-25 15:45:52 +0200
commitc218d3be38381d006154a2d2f0d2b99c0f078318 (patch)
tree716a9b84e61d0cdfdbf53052b626ac46452f8999 /hosts
parentAdd partitioning guide (diff)
downloadnixos-config-c218d3be38381d006154a2d2f0d2b99c0f078318.tar.gz
nixos-config-c218d3be38381d006154a2d2f0d2b99c0f078318.tar.bz2
nixos-config-c218d3be38381d006154a2d2f0d2b99c0f078318.zip
Clean tmp dir on boot
Diffstat (limited to 'hosts')
-rw-r--r--hosts/configuration.nix23
1 files changed, 13 insertions, 10 deletions
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.