mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 05:53:28 +01:00
lib: add makeDiskImage
This commit is contained in:
1 parent
5c5279567f
commit
a8834f94f3
2 files changed
+59
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user