lib: add makeDiskImage

This commit is contained in:
lassulus authored and mergify[bot] committed 2023-07-28 12:43:42 +00:00
1 parent 5c5279567f
commit a8834f94f3
2 files changed
+59

No files matched your search

+3
View File
@@ -10,6 +10,9 @@ let
diskoLib = {
# like make-disk-image.nix from nixpkgs, but with disko config
makeDiskImage = args: import ./make-disk-image.nix ({ inherit diskoLib; } // args);
testLib = import ./tests.nix { inherit lib makeTest eval-config; };
# like lib.types.oneOf but instead of a list takes an attrset
# uses the field "type" to find the correct type in the attrset