summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--types.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/types.nix b/types.nix
index c71f05e..555b483 100644
--- a/types.nix
+++ b/types.nix
@@ -763,7 +763,8 @@ rec {
(optionalAttrs (!isNull config.mountpoint) {
fileSystems.${config.mountpoint} = {
device = config.name;
- fsType = [ "zfs" ];
+ fsType = "zfs";
+ options = lib.optional ((config.options.mountpoint or "") != "legacy") "zfsutil";
};
});
};
@@ -851,7 +852,8 @@ rec {
optionalAttrs (config.zfs_type == "filesystem" && config.options.mountpoint or "" != "none") {
fileSystems.${config.mountpoint} = {
device = "${zpool}/${config.name}";
- fsType = [ "zfs" ];
+ fsType = "zfs";
+ options = lib.optional ((config.options.mountpoint or "") != "legacy") "zfsutil";
};
};
};