summaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2022-08-26 10:28:07 +0200
committerJörg Thalheim <joerg@thalheim.io>2022-08-26 10:29:49 +0200
commit722dde361ca51864fd9b3b6b9a78875e436fbc24 (patch)
tree31b5d48e3b1601b074e503bdc25f20ad62edb596 /example
parent57b7c5506a64e169370f291bffa75d2888027ee9 (diff)
zfs: support for root dataset mountpoint and mountpoint=none
Diffstat (limited to 'example')
-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";