mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 21:13:28 +01:00
tests: refactor into testlib; change config devices via fold
This commit is contained in:
1 parent
f6649d69d9
commit
cd38be93db
2 files changed
+209
-175
No files matched your search
@@ -1,8 +1,8 @@
|
||||
{ disks ? [ "/dev/vdb" ], ... }: {
|
||||
{ ... }: {
|
||||
disko.devices = {
|
||||
disk = {
|
||||
vdb = {
|
||||
device = builtins.elemAt disks 0;
|
||||
device = "/dev/disk/by-id/some-disk-id";
|
||||
type = "disk";
|
||||
content = {
|
||||
type = "gpt";
|
||||
|
||||
Reference in new issue
Block a user