about summary refs log tree commit diff
path: root/modules/user/openlab
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2017-02-23 16:43:24 +0100
committerProfpatsch <mail@profpatsch.de>2017-02-23 16:43:24 +0100
commitb7b5b8913921db41d8e9e9eb2daa884ba829605c (patch)
tree00200e6061cab3c1c313af6e03be576ad559e0e1 /modules/user/openlab
parentcd4bc6fde00e3da0382a3eb151dbbd0087449377 (diff)
machines/profpatsch: enable tmpOnTmpfs by default
Diffstat (limited to 'modules/user/openlab')
-rw-r--r--modules/user/openlab/base.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/user/openlab/base.nix b/modules/user/openlab/base.nix
index 8d4c23fc..8584ceee 100644
--- a/modules/user/openlab/base.nix
+++ b/modules/user/openlab/base.nix
@@ -16,6 +16,10 @@ in
     boot.loader.grub.device = mkDefault "/dev/sda";
     boot.loader.timeout = 2;
 
+    # tmp (and nix builds) should be fast by default
+    # might make sense to disable that on machines with little RAM
+    boot.tmpOnTmpfs = mkDefault true;
+
     fileSystems."/" = mkDefault {
       device = "/dev/disk/by-label/labtop";
       fsType = "ext4";