sfos/hosts/sfos-2/disko-config.nix
2025-03-16 20:15:03 -06:00

99 lines
2.1 KiB
Nix

{
disko.devices.disk.os = {
# device = "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_59633795";
device = "/dev/sda";
type = "disk";
content = {
type = "gpt";
partitions = {
boot = {
size = "1M";
type = "EF02"; # for grub MBR
};
# ESP = {
# type = "EF00";
# size = "500M";
# content = {
# type = "filesystem";
# format = "vfat";
# mountpoint = "/boot";
# mountOptions = ["umask=0077"];
# };
# };
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
}
# {
# disko.devices.disk.os = {
# type = "disk";
# content = {
# device = "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_59632825";
# type = "gpt";
# partitions = {
# boot = {
# type = "EF02";
# size = "1M";
# };
# ESP = {
# type = "EF00";
# size = "500M";
# content = {
# type = "filesystem";
# format = "vfat";
# mountpoint = "/boot";
# mountOptions = ["umask=0077"];
# };
# };
# root = {
# size = "100%";
# content = {
# type = "filesystem";
# format = "ext4";
# mountpoint = "/";
# };
# };
# };
# };
# };
# }
# {
# device = "/dev/sda";
# type = "disk";
# content = {
# type = "gpt";
# partitions = {
# boot = {
# type = "EF02";
# size = "1M";
# };
# ESP = {
# type = "EF00";
# size = "500M";
# content = {
# type = "filesystem";
# format = "vfat";
# mountpoint = "/boot";
# mountOptions = ["umask=0077"];
# };
# };
# root = {
# size = "100%";
# content = {
# type = "filesystem";
# format = "ext4";
# mountpoint = "/";
# };
# };
# };
# };
# }