Kieran's opinionated (and probably slightly dumb) nix config
1{
2 disko.devices = {
3 disk = {
4 main = {
5 device = "/dev/nvme0n1";
6 type = "disk";
7 content = {
8 type = "gpt";
9 partitions = {
10 ESP = {
11 type = "EF00";
12 size = "500M";
13 content = {
14 type = "filesystem";
15 format = "vfat";
16 mountpoint = "/boot";
17 };
18 };
19 root = {
20 size = "100%";
21 content = {
22 type = "filesystem";
23 format = "ext4";
24 mountpoint = "/";
25 };
26 };
27 };
28 };
29 };
30 };
31 };
32}