disko/example/multi-device-no-deps.nix

40 lines
814 B
Nix

{
disko.devices = {
disk = {
disk0 = {
device = "/dev/vda";
type = "disk";
content = {
type = "gpt";
partitions = {
nix = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/a";
};
};
};
};
};
disk1 = {
device = "/dev/vdb";
type = "disk";
content = {
type = "gpt";
partitions = {
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/b";
};
};
};
};
};
};
};
}