about summary refs log tree commit diff
path: root/hosts/configuration.nix
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2022-06-25 15:45:52 +0200
committerBaitinq <[email protected]>2022-06-25 15:45:52 +0200
commit557adec835c3c3be16d15ff668fda0fbe8b11144 (patch)
tree1b2c984d44287feeb2d80cfa59a54fabde6137c6 /hosts/configuration.nix
parentAdd partitioning guide (diff)
downloadnixos-config-557adec835c3c3be16d15ff668fda0fbe8b11144.tar.gz
nixos-config-557adec835c3c3be16d15ff668fda0fbe8b11144.tar.bz2
nixos-config-557adec835c3c3be16d15ff668fda0fbe8b11144.zip
Clean tmp dir on boot
Diffstat (limited to 'hosts/configuration.nix')
-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.