mirror of
https://github.com/nix-community/disko.git
synced 2024-09-11 06:25:33 +03:00
41 lines
814 B
Nix
41 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";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|