From d901c0e42094c806655b1ec2a250e657a54f9dfc Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 9 Sep 2017 19:32:09 +0200 Subject: bare-metal: Mount tmpfs to /tmp on boot --- modules/bare-metal.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/bare-metal.nix') 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" ]; } -- cgit 1.4.1