mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
40 lines
814 B
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";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|