mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 13:03:28 +01:00
Merge pull request #941 from LogicalOverflow/master
fix eval of `zfs_volume`'s `_unmount` if `content` is `null`
This commit is contained in:
2 files changed
+5
-1
No files matched your search
@@ -81,6 +81,10 @@
|
||||
mountpoint = "/ext4onzfs";
|
||||
};
|
||||
};
|
||||
zfs_volume_no_content = {
|
||||
type = "zfs_volume";
|
||||
size = "10M";
|
||||
};
|
||||
zfs_encryptedvolume = {
|
||||
type = "zfs_volume";
|
||||
size = "10M";
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
${config.content._unmount.dev or ""}
|
||||
'';
|
||||
|
||||
fs = config.content._unmount.fs;
|
||||
fs = config.content._unmount.fs or {};
|
||||
};
|
||||
};
|
||||
_config = lib.mkOption {
|
||||
|
||||
Reference in new issue
Block a user