zfs: Tolerate no mountable dataset

This commit is contained in:
misumisumi 2024-01-10 21:59:03 +09:00 committed by mergify[bot]
parent be305848c6
commit fa5db12d76

View File

@ -85,7 +85,7 @@
zpool import -l -R ${rootMountPoint} '${config.name}'
${lib.concatMapStrings (x: x.dev or "") (lib.attrValues datasetMounts)}
'';
inherit (datasetMounts) fs;
fs = datasetMounts.fs or { };
};
};
_config = lib.mkOption {