task | add t2 and pi1

This commit is contained in:
Don Harper 2024-09-27 07:23:42 -05:00
parent e485c0b0b6
commit 48dcf2c25d
8 changed files with 101 additions and 25 deletions

39
hosts/pi1/disko.nix Normal file
View file

@ -0,0 +1,39 @@
{
disko.devices = {
disk = {
vdb = {
device = "/dev/mmcblk0";
type = "disk";
content = {
type = "table";
format = "gpt";
partitions = [
{
name = "ESP";
start = "1M";
end = "500M";
bootable = true;
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
}
{
name = "root";
start = "500M";
end = "100%";
part-type = "primary";
bootable = true;
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
}
];
};
};
};
};
}