48 lines
1.1 KiB
Nix
48 lines
1.1 KiB
Nix
|
{
|
||
|
disko = {
|
||
|
devices = {
|
||
|
disk = {
|
||
|
disk1 = {
|
||
|
imageSize = "20G";
|
||
|
type = "disk";
|
||
|
device = "/dev/mmcblk0";
|
||
|
content = {
|
||
|
type = "gpt";
|
||
|
partitions = {
|
||
|
firmware = {
|
||
|
size = "30M";
|
||
|
priority = 1;
|
||
|
type = "0700";
|
||
|
content = {
|
||
|
type = "filesystem";
|
||
|
format = "vfat";
|
||
|
mountpoint = "/firmware";
|
||
|
};
|
||
|
};
|
||
|
boot = {
|
||
|
size = "1G";
|
||
|
type = "EF00";
|
||
|
content = {
|
||
|
type = "filesystem";
|
||
|
format = "vfat";
|
||
|
mountpoint = "/boot";
|
||
|
};
|
||
|
};
|
||
|
root = {
|
||
|
name = "root";
|
||
|
size = "100%";
|
||
|
content = {
|
||
|
type = "filesystem";
|
||
|
extraArgs = [];
|
||
|
format = "ext4";
|
||
|
mountpoint = "/";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|