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)
downloadnixos-configuration-d901c0e42094c806655b1ec2a250e657a54f9dfc.tar.lz
nixos-configuration-d901c0e42094c806655b1ec2a250e657a54f9dfc.tar.zst
nixos-configuration-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 969848b..b5e0fc7 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" ];
 }