infrastructure/hosts/cesium/system/disko.nix
Laureηt c70e047c9f
🚚 (cesium) rename <thing>/default.nix to thing.nix
 (cesium) add back gatus service
2024-10-06 16:24:21 +02:00

41 lines
837 B
Nix

{...}: {
boot.loader.grub = {
efiSupport = true;
efiInstallAsRemovable = true;
};
disko.devices = {
disk.disk1 = {
device = "/dev/sda";
type = "disk";
content = {
type = "gpt";
partitions = {
boot = {
name = "boot";
size = "1M";
type = "EF02";
};
esp = {
end = "500M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
root = {
name = "root";
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
};
}