summaryrefslogtreecommitdiffstats
path: root/example/zfs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'example/zfs.nix')
-rw-r--r--example/zfs.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/example/zfs.nix b/example/zfs.nix
index 2b56bd7..60e4700 100644
--- a/example/zfs.nix
+++ b/example/zfs.nix
@@ -16,6 +16,8 @@
compression = "lz4";
"com.sun:auto-snapshot" = "false";
};
+ mountpoint = "/";
+
datasets = [
{
type = "zfs_filesystem";
@@ -25,6 +27,11 @@
}
{
type = "zfs_filesystem";
+ name = "zfs_unmounted_fs";
+ options.mountpoint = "none";
+ }
+ {
+ type = "zfs_filesystem";
name = "zfs_legacy_fs";
options.mountpoint = "legacy";
mountpoint = "/zfs_legacy_fs";