Merge pull request #941 from LogicalOverflow/master

fix eval of `zfs_volume`'s `_unmount` if `content` is `null`
This commit is contained in:
Jörg Thalheim authored and GitHub committed 2025-01-16 15:34:23 +01:00
commit bf0abfde48
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -81,6 +81,10 @@
mountpoint = "/ext4onzfs"; mountpoint = "/ext4onzfs";
}; };
}; };
zfs_volume_no_content = {
type = "zfs_volume";
size = "10M";
};
zfs_encryptedvolume = { zfs_encryptedvolume = {
type = "zfs_volume"; type = "zfs_volume";
size = "10M"; size = "10M";
+1 -1
View File
@@ -88,7 +88,7 @@
${config.content._unmount.dev or ""} ${config.content._unmount.dev or ""}
''; '';
fs = config.content._unmount.fs; fs = config.content._unmount.fs or {};
}; };
}; };
_config = lib.mkOption { _config = lib.mkOption {