This repository has no description
868 B
43 lines
1{ lib, disk, keyFile, ... }:
2{
3 disk = {
4 main = {
5 type = "disk";
6 device = disk;
7 content = {
8 type = "table";
9 format = "gpt";
10 partitions = [
11 {
12 name = "boot";
13 start = "0";
14 end = "1M";
15 flags = ["bios_grub"];
16 }
17 {
18 name = "ESP";
19 start = "1M";
20 end = "50%";
21 bootable = true;
22 content = {
23 type = "filesystem";
24 format = "vfat";
25 mountpoint = "/boot";
26 };
27 }
28 {
29 name = "root";
30 start = "50%";
31 end = "100%";
32 content = {
33 type = "filesystem";
34 format = "ext4";
35 mountpoint = "/";
36 };
37 }
38 ];
39 };
40 };
41 };
42}
43