diff options
author | Profpatsch <mail@profpatsch.de> | 2017-02-23 16:43:24 +0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2017-02-23 16:43:24 +0100 |
commit | b7b5b8913921db41d8e9e9eb2daa884ba829605c (patch) | |
tree | 00200e6061cab3c1c313af6e03be576ad559e0e1 /modules/user/openlab | |
parent | cd4bc6fde00e3da0382a3eb151dbbd0087449377 (diff) |
machines/profpatsch: enable tmpOnTmpfs by default
Diffstat (limited to 'modules/user/openlab')
-rw-r--r-- | modules/user/openlab/base.nix | 4 |
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"; |