summaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2022-08-26 09:07:24 +0200
committerJörg Thalheim <joerg@thalheim.io>2022-08-26 09:12:40 +0200
commit57b7c5506a64e169370f291bffa75d2888027ee9 (patch)
tree291a7a61b8c302af17ad308ebc5a30b8366bdbf3 /example
parent05a90d4227dd14ab08fa3982f320ec771e5626db (diff)
also test zfs filesystem options
Diffstat (limited to 'example')
-rw-r--r--example/zfs.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/example/zfs.nix b/example/zfs.nix
index e344289..2b56bd7 100644
--- a/example/zfs.nix
+++ b/example/zfs.nix
@@ -12,11 +12,16 @@
zroot = {
type = "zpool";
mode = "mirror";
+ rootFsOptions = {
+ compression = "lz4";
+ "com.sun:auto-snapshot" = "false";
+ };
datasets = [
{
type = "zfs_filesystem";
name = "zfs_fs";
mountpoint = "/zfs_fs";
+ options."com.sun:auto-snapshot" = "true";
}
{
type = "zfs_filesystem";