api/disk-templates: adopt directory structure from clan modules

This commit is contained in:
Johannes Kirschbauer
2024-12-03 12:01:24 +01:00
parent 3581c30336
commit d1f624ad1f
5 changed files with 159 additions and 20 deletions

View File

@@ -0,0 +1,34 @@
{
disko.devices = {
disk = {
main = {
name = "main-{{uuid}}";
device = "{{mainDisk}}";
type = "disk";
content = {
type = "gpt";
partitions = {
ESP = {
type = "EF00";
size = "500M";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
};
};
}