mirror of
https://github.com/nix-community/disko.git
synced 2024-11-09 00:04:18 +03:00
zfs: Tolerate no mountable dataset
This commit is contained in:
parent
be305848c6
commit
fa5db12d76
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user