diff options
Diffstat (limited to 'example/gpt-bios-compat.nix')
-rw-r--r-- | example/gpt-bios-compat.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/example/gpt-bios-compat.nix b/example/gpt-bios-compat.nix index 9abe691..72886a0 100644 --- a/example/gpt-bios-compat.nix +++ b/example/gpt-bios-compat.nix @@ -1,8 +1,8 @@ # Example to create a bios compatible gpt partition -{ +{ disks ? [ "/dev/vdb" ] }: { disk = { vdb = { - device = "/dev/vdb"; + device = builtins.elemAt disks 0; type = "disk"; content = { type = "table"; |