summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorAlan Pearce2017-09-09 19:32:09 +0200
committerAlan Pearce2017-09-09 19:32:09 +0200
commitd901c0e42094c806655b1ec2a250e657a54f9dfc (patch)
tree0906e811494669deb70f589f55916b0156ea2d7c /modules
parentd541dcbb64da728b7b630f83463e0dedc420747c (diff)
downloadnixfiles-d901c0e42094c806655b1ec2a250e657a54f9dfc.tar.lz
nixfiles-d901c0e42094c806655b1ec2a250e657a54f9dfc.tar.zst
nixfiles-d901c0e42094c806655b1ec2a250e657a54f9dfc.zip
bare-metal: Mount tmpfs to /tmp on boot
Diffstat (limited to 'modules')
-rw-r--r--modules/bare-metal.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/bare-metal.nix b/modules/bare-metal.nix
index 969848bb..b5e0fc7b 100644
--- a/modules/bare-metal.nix
+++ b/modules/bare-metal.nix
@@ -11,6 +11,8 @@
 
   boot.kernelPackages = pkgs.linuxPackages_4_12;
 
+  boot.tmpOnTmpfs = true;
+
   fileSystems."/".options = [ "noatime" "nodiratime" ];
   fileSystems."/home".options = [ "noatime" "nodiratime" ];
 }