updated disko to submodule

This commit is contained in:
Gerg-L 2023-08-21 21:16:47 -04:00
parent 0b0f47a859
commit 2e26046d07
3 changed files with 35 additions and 53 deletions

View file

@ -5,33 +5,29 @@
device = "/dev/disk/by-id/nvme-WDC_PC_SN530_SDBPNPZ-512G-1006_21311N802456";
type = "disk";
content = {
type = "table";
format = "gpt";
partitions = [
{
type = "gpt";
partitions = {
ESP = {
name = "ESP";
start = "1MiB";
end = "1GiB";
bootable = true;
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
}
{
name = "root";
};
root = {
start = "1GiB";
end = "100%";
part-type = "primary";
bootable = true;
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
}
];
};
};
};
};
};

View file

@ -4,82 +4,72 @@
disk = {
"0E" = {
type = "disk";
device = "/dev/disk/by-id/nvme-SHPP41-500GM_SSB4N6719101A4N0E";
content = {
type = "table";
format = "gpt";
partitions = [
{
name = "BOOT";
type = "gpt";
partitions = {
BOOT = {
type = "EF00";
start = "0";
end = "4G";
bootable = true;
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/efi0E";
};
}
{
name = "swap";
};
swap = {
start = "5G";
end = "21G";
content = {
type = "swap";
randomEncryption = true;
};
}
{
name = "zfsroot";
};
zfsroot = {
start = "21G";
end = "100%";
content = {
type = "zfs";
pool = "rpool";
};
}
];
};
};
};
};
"22" = {
type = "disk";
device = "/dev/disk/by-id/nvme-SHPP41-500GM_SSB4N6719101A4N22";
content = {
type = "table";
format = "gpt";
partitions = [
{
name = "BOOT";
type = "gpt";
partitions = {
BOOT = {
type = "EF00";
start = "0";
end = "4G";
bootable = true;
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/efi22";
};
}
{
name = "swap";
};
swap = {
start = "5G";
end = "21G";
content = {
type = "swap";
randomEncryption = true;
};
}
{
name = "zfsroot ";
};
zfsroot = {
start = "21G";
end = "100%";
content = {
type = "zfs";
pool = "rpool";
};
}
];
};
};
};
};
};

View file

@ -5,33 +5,29 @@
device = "/dev/disk/by-id/ata-WDC_WDS240G2G0A-00JH30_180936803144";
type = "disk";
content = {
type = "table";
format = "gpt";
partitions = [
{
name = "ESP";
type = "gpt";
partitions = {
ESP = {
start = "1MiB";
end = "1GiB";
bootable = true;
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
}
{
name = "root";
};
root = {
start = "1GiB";
end = "100%";
part-type = "primary";
bootable = true;
type = "EF00";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
}
];
};
};
};
};
};