diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2022-10-04 11:30:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-04 11:30:22 +0200 |
commit | c96ccd7d9fb48b8283e84811c2355a3c39bb2a52 (patch) | |
tree | 5cdd04282099d607d86c961e390077b09f50452b /example/gpt-bios-compat.nix | |
parent | 60b5f5e7495dd90b8212d121905feaee313fef8f (diff) | |
parent | 9f7f23abdb161578316d94f45528fbf47982f4d9 (diff) |
Merge pull request #43 from nix-community/test-config
add nixos tests for disko.config
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"; |