summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2022-09-05 17:23:17 +0200
committerJörg Thalheim <joerg@thalheim.io>2022-09-05 17:23:17 +0200
commit55197cfc55c345a3803ad312d70cae9cbaf38eb1 (patch)
tree20b225e7a1241bb1ad66616196606ae28e54bb64
parent11d708dc31d9881aa647650bf9173860469152c2 (diff)
config: fix fsType for zfs
-rw-r--r--types.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/types.nix b/types.nix
index c71f05e..46c114d 100644
--- a/types.nix
+++ b/types.nix
@@ -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";
};
};
};