summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2022-09-05 17:26:48 +0200
committerJörg Thalheim <joerg@thalheim.io>2022-09-05 17:26:48 +0200
commit088b2a31d0a5fa5a6468737977cad8e60b42e24e (patch)
tree8cef60bce3637f17a1d926f08587bfb5a13c3564
parent55197cfc55c345a3803ad312d70cae9cbaf38eb1 (diff)
config: add zfsutil to zfs datasets as appropriate
-rw-r--r--types.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/types.nix b/types.nix
index 46c114d..555b483 100644
--- a/types.nix
+++ b/types.nix
@@ -764,6 +764,7 @@ rec {
fileSystems.${config.mountpoint} = {
device = config.name;
fsType = "zfs";
+ options = lib.optional ((config.options.mountpoint or "") != "legacy") "zfsutil";
};
});
};
@@ -852,6 +853,7 @@ rec {
fileSystems.${config.mountpoint} = {
device = "${zpool}/${config.name}";
fsType = "zfs";
+ options = lib.optional ((config.options.mountpoint or "") != "legacy") "zfsutil";
};
};
};