diff options
author | Alan Pearce | 2017-09-09 19:32:09 +0200 |
---|---|---|
committer | Alan Pearce | 2017-09-09 19:32:09 +0200 |
commit | d901c0e42094c806655b1ec2a250e657a54f9dfc (patch) | |
tree | 0906e811494669deb70f589f55916b0156ea2d7c /modules | |
parent | d541dcbb64da728b7b630f83463e0dedc420747c (diff) | |
download | nixfiles-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.nix | 2 |
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" ]; } |