config: fix fsType for zfs

This commit is contained in:
Jörg Thalheim committed 2022-09-05 17:23:17 +02:00
1 parent 11d708dc31
commit 55197cfc55
1 file changed
+2 -2
+2 -2
View File
@@ -763,7 +763,7 @@ rec {
(optionalAttrs (!isNull config.mountpoint) {
fileSystems.${config.mountpoint} = {
device = config.name;
fsType = [ "zfs" ];
fsType = "zfs";
};
});
};
@@ -851,7 +851,7 @@ rec {
optionalAttrs (config.zfs_type == "filesystem" && config.options.mountpoint or "" != "none") {
fileSystems.${config.mountpoint} = {
device = "${zpool}/${config.name}";
fsType = [ "zfs" ];
fsType = "zfs";
};
};
};