mirror of
https://github.com/acaloiaro/sfos
synced 2026-07-21 10:12:24 +00:00
99 lines
2.1 KiB
Nix
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 = "/";
|
|
# };
|
|
# };
|
|
# };
|
|
# };
|
|
# }
|
|
|