forgejo-ci-runners/disko-shadowfax.nix

33 lines
722 B
Nix
Raw Normal View History

2024-05-25 16:11:35 -05:00
{ disks ? [ "/dev/sda" ], ... }: {
disko.devices = {
disk = {
main = {
device = builtins.elemAt disks 0;
type = "disk";
content = {
type = "gpt";
partitions = {
ESP = {
2024-05-26 09:16:06 -05:00
type = "EF00";
size = "1000M";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
};
};
}