freeciv
[julm/julm-nix.git] / Makefile
index f3cb28b631fa0098a0c67cfe32463152b78de3d9..5df6ef958d54849231be10b7cfa1752b6dfd639c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,8 @@ zpool       := $(machine)
 cipher      := aes-128-gcm
 autotrim    := on
 reservation := 1G
+# FIXME: use zstd when zfs stable gets it
+compression := lz4
 
 wipe:
        sudo modprobe zfs
@@ -46,7 +48,7 @@ format-zpool:
         acltype=off \
         atime=off \
         canmount=off \
-        compression=lz4 \
+        compression=$(compression) \
         dnodesize=auto \
         relatime=on \
         xattr=off \