2023-09-21 14:01:13 +02:00
|
|
|
{
|
2023-09-22 04:58:46 +02:00
|
|
|
boot.loader.grub.device = "/dev/sda";
|
2023-09-22 06:38:59 +02:00
|
|
|
boot.initrd.luks.devices."sda2".device = "/dev/sda2";
|
2023-09-22 07:43:52 +02:00
|
|
|
|
2023-09-22 07:24:13 +02:00
|
|
|
disko.devices.disk.sda = {
|
|
|
|
device = "/dev/sda";
|
|
|
|
content = {
|
|
|
|
type = "table";
|
|
|
|
format = "gpt";
|
|
|
|
partitions = [
|
|
|
|
{
|
|
|
|
name = "BOOT";
|
|
|
|
start = "0%";
|
|
|
|
end = "550MiB";
|
|
|
|
bootable = true;
|
|
|
|
flags = [ "esp" ];
|
|
|
|
fs-type = "fat32";
|
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
2023-09-22 07:43:52 +02:00
|
|
|
format = "vfat";
|
2023-09-22 07:24:13 +02:00
|
|
|
mountpoint = "/boot";
|
|
|
|
};
|
|
|
|
} # partition 1
|
|
|
|
{
|
|
|
|
name = "LUKS";
|
|
|
|
start = "550MiB";
|
|
|
|
end = "100%";
|
|
|
|
content = {
|
|
|
|
type = "luks";
|
2023-09-22 11:05:38 +02:00
|
|
|
name = "ROOT";
|
2023-09-22 07:24:13 +02:00
|
|
|
content = {
|
2023-09-22 11:05:38 +02:00
|
|
|
type = "filesystem";
|
|
|
|
format = "ext4";
|
2023-09-22 11:15:02 +02:00
|
|
|
mountpoint = "/";
|
2023-09-22 07:24:13 +02:00
|
|
|
}; # content.content
|
|
|
|
}; # content
|
|
|
|
} # partition 2
|
|
|
|
]; # partitions
|
|
|
|
}; # content
|
|
|
|
}; # disko.devices.disk.sda
|
2023-09-22 04:27:57 +02:00
|
|
|
} # root
|