add disko ext4 templates

This commit is contained in:
Sangmin Kim 2026-05-19 14:41:25 +09:00
parent 604de36ab1
commit ab2e8d05fd
2 changed files with 66 additions and 2 deletions

View file

@ -1,5 +1,37 @@
{ ... }:
{
# TODO: Define the midgard disk layout.
disko.devices = {
disk.main = {
type = "disk";
device = "/dev/disk/by-id/REPLACE_WITH_MIDGARD_DISK_ID";
content = {
type = "gpt";
partitions = {
ESP = {
size = "512M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
};
}