Templates: init disko single disk template file

This commit is contained in:
Johannes Kirschbauer
2024-11-28 11:19:20 +01:00
parent e4310e96c7
commit de475c6aad

View File

@@ -0,0 +1,39 @@
{
disko.devices = {
disk = {
main = {
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 = "/";
};
};
swap = {
size = "{{swapSize}}";
content = {
type = "swap";
};
};
};
};
};
};
};
}