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 | nixos-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.nix | 2 |
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" ]; } |