btw i use nix
1{ lib, ... }:
2
3{
4 disko.devices = {
5 disk.disk1 = {
6 device = lib.mkDefault "/dev/sda";
7 type = "disk";
8 content = {
9 type = "gpt";
10 partitions = {
11 ESP = {
12 type = "EF00";
13 size = "500M";
14 content = {
15 type = "filesystem";
16 format = "vfat";
17 mountpoint = "/boot";
18 mountOptions = [ "umask=0077" ];
19 };
20 };
21 root = {
22 size = "100%";
23 content = {
24 type = "filesystem";
25 format = "ext4";
26 mountpoint = "/";
27 };
28 };
29 };
30 };
31 };
32 };
33}