all repos — nixfiles @ d901c0e42094c806655b1ec2a250e657a54f9dfc

System and user configuration, managed by nix and home-manager

bare-metal: Mount tmpfs to /tmp on boot
Alan Pearce alan@alanpearce.eu
Sat, 09 Sep 2017 19:32:09 +0200
commit

d901c0e42094c806655b1ec2a250e657a54f9dfc

parent

d541dcbb64da728b7b630f83463e0dedc420747c

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M modules/bare-metal.nixmodules/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" ];
 }