diff --git a/example/complex.nix b/example/complex.nix index ba6c92a..120721b 100644 --- a/example/complex.nix +++ b/example/complex.nix @@ -152,7 +152,7 @@ type = "zpool"; mode = "mirror"; rootFsOptions = { - compression = "lz4"; + compression = "zstd"; "com.sun:auto-snapshot" = "false"; }; mountpoint = "/"; diff --git a/example/zfs.nix b/example/zfs.nix index 8e85c96..8372753 100644 --- a/example/zfs.nix +++ b/example/zfs.nix @@ -48,7 +48,7 @@ type = "zpool"; mode = "mirror"; rootFsOptions = { - compression = "lz4"; + compression = "zstd"; "com.sun:auto-snapshot" = "false"; }; mountpoint = "/"; diff --git a/tests/zfs.nix b/tests/zfs.nix index bb29e98..da2e49c 100644 --- a/tests/zfs.nix +++ b/tests/zfs.nix @@ -19,8 +19,8 @@ diskoLib.testLib.makeDiskoTest { out == expected_value ), f"Expected {property}={expected_value} on {ds}, got: {out}" - assert_property("zroot", "compression", "lz4") - assert_property("zroot/zfs_fs", "compression", "lz4") + assert_property("zroot", "compression", "zstd") + assert_property("zroot/zfs_fs", "compression", "zstd") assert_property("zroot", "com.sun:auto-snapshot", "false") assert_property("zroot/zfs_fs", "com.sun:auto-snapshot", "true") assert_property("zroot/zfs_testvolume", "volsize", "10M")