diff options
author | aszlig <aszlig@redmoonstudios.org> | 2016-01-14 10:44:42 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2016-01-14 10:44:42 +0100 |
commit | 3a292a8a9c50539385eb8d69612a0944003e27cd (patch) | |
tree | fd314431c5c3708e7c4590db95cd28c6a57193d7 /machines/aszlig/managed/tyree.nix | |
parent | 86c5f5eb49fbc9ad17811a9aecc501af66116552 (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>
Diffstat (limited to 'machines/aszlig/managed/tyree.nix')
-rw-r--r-- | machines/aszlig/managed/tyree.nix | 7 |
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"; |