tests: refactor to not use args and to use gpt type

This commit is contained in:
lassulus authored and mergify[bot] committed 2023-07-19 19:07:40 +00:00
1 parent c77e66cea1
commit 04452cfd2b
19 files changed
+221 -335

No files matched your search

+8 -13
View File
@@ -1,26 +1,21 @@
{ disks ? [ "/dev/vdb" "/dev/vdc" ], ... }: {
{
disko.devices = {
disk = {
disk0 = {
device = builtins.elemAt disks 0;
device = "/dev/disk/by-id/ata-disk0";
type = "disk";
content = {
type = "table";
format = "gpt";
partitions = [
{
name = "nix";
part-type = "primary";
start = "0%";
end = "-10MiB";
bootable = true;
type = "gpt";
partitions = {
nix = {
end = "-10M";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
}
];
};
};
};
};
};