config: add zfsutil to zfs datasets as appropriate

This commit is contained in:
Jörg Thalheim 2022-09-05 17:26:48 +02:00
parent 55197cfc55
commit 088b2a31d0

View file

@ -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";
};
};
};