about summary refs log tree commit diff
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-01-14 10:44:42 +0100
committeraszlig <aszlig@redmoonstudios.org>2016-01-14 10:44:42 +0100
commit3a292a8a9c50539385eb8d69612a0944003e27cd (patch)
treefd314431c5c3708e7c4590db95cd28c6a57193d7
parent86c5f5eb49fbc9ad17811a9aecc501af66116552 (diff)
machines/tyree: Set mount options for rootfs
Should be more suitable for the MMC flash device and also deactivates
access times.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
-rw-r--r--machines/aszlig/managed/tyree.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/machines/aszlig/managed/tyree.nix b/machines/aszlig/managed/tyree.nix
index 8533d703..afe81b74 100644
--- a/machines/aszlig/managed/tyree.nix
+++ b/machines/aszlig/managed/tyree.nix
@@ -21,6 +21,13 @@
 
   fileSystems."/".label = "tyree-root";
   fileSystems."/".fsType = "btrfs";
+  fileSystems."/".options = lib.concatStringsSep "," [
+    "compress=lzo"
+    "discard"
+    "noatime"
+    "space_cache"
+    "ssd"
+  ];
 
   swapDevices = lib.singleton {
     label = "tyree-swap";