diff options
author | aszlig <aszlig@nix.build> | 2018-02-04 03:39:15 +0100 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2018-02-04 03:40:36 +0100 |
commit | 986924876902de0a481469c0d95ee202ab781d59 (patch) | |
tree | 2089e53003d45de2e52dc7b8e11696d267d7f660 /machines/aszlig/managed | |
parent | dc827486365b3e2d47c32ea5b11f7f539fd621b0 (diff) |
machines/aszlig: Use zstd compression for btrfs
I've been using this for a while and got better results than zlib and lzo, so let's actually use this for all my machines. Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'machines/aszlig/managed')
-rw-r--r-- | machines/aszlig/managed/brawndo.nix | 2 | ||||
-rw-r--r-- | machines/aszlig/managed/tyree.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/machines/aszlig/managed/brawndo.nix b/machines/aszlig/managed/brawndo.nix index ea6d26ce..b451f7fb 100644 --- a/machines/aszlig/managed/brawndo.nix +++ b/machines/aszlig/managed/brawndo.nix @@ -18,7 +18,7 @@ in { fileSystems."/" = { device = "/dev/disk/by-uuid/${rootUUID}"; fsType = "btrfs"; - options = [ "compress=zlib" "space_cache" "noatime" ]; + options = [ "compress=zstd" "space_cache" "noatime" ]; }; fileSystems."/boot" = { diff --git a/machines/aszlig/managed/tyree.nix b/machines/aszlig/managed/tyree.nix index 3cc336d8..9d9ca3e2 100644 --- a/machines/aszlig/managed/tyree.nix +++ b/machines/aszlig/managed/tyree.nix @@ -14,7 +14,7 @@ fileSystems."/".label = "tyree-root"; fileSystems."/".fsType = "btrfs"; fileSystems."/".options = [ - "compress=lzo" + "compress=zstd" "discard" "noatime" "space_cache" |