2023-07-15 21:42:37 +03:00
|
|
|
{
|
2023-03-03 10:09:13 +03:00
|
|
|
disko.devices = {
|
|
|
|
disk.main = {
|
2023-07-15 21:42:37 +03:00
|
|
|
device = "/dev/disk/by-id/ata-Samsung_SSD_860_EVO_500GB_S3Z1NB0K303456L";
|
2023-03-03 10:09:13 +03:00
|
|
|
type = "disk";
|
|
|
|
content = {
|
2023-07-15 21:42:37 +03:00
|
|
|
type = "gpt";
|
|
|
|
partitions = {
|
|
|
|
boot = {
|
|
|
|
size = "1M";
|
2023-07-21 15:28:58 +03:00
|
|
|
type = "EF02"; # for grub MBR
|
2024-04-21 22:25:18 +03:00
|
|
|
priority = 1; # Needs to be first partition
|
2023-07-15 21:42:37 +03:00
|
|
|
};
|
|
|
|
ESP = {
|
2023-03-03 10:09:13 +03:00
|
|
|
name = "ESP";
|
2023-07-15 21:42:37 +03:00
|
|
|
size = "512M";
|
2023-07-20 19:41:35 +03:00
|
|
|
type = "EF00";
|
2023-03-03 10:09:13 +03:00
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "vfat";
|
|
|
|
mountpoint = "/boot";
|
|
|
|
};
|
2023-07-15 21:42:37 +03:00
|
|
|
};
|
|
|
|
nix = {
|
|
|
|
size = "100%";
|
2023-03-03 10:09:13 +03:00
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "ext4";
|
|
|
|
mountpoint = "/nix";
|
|
|
|
};
|
2023-07-15 21:42:37 +03:00
|
|
|
};
|
|
|
|
};
|
2023-03-03 10:09:13 +03:00
|
|
|
};
|
|
|
|
};
|
|
|
|
nodev."/" = {
|
|
|
|
fsType = "tmpfs";
|
|
|
|
mountOptions = [
|
|
|
|
"size=2G"
|
|
|
|
"defaults"
|
|
|
|
"mode=755"
|
2023-02-02 22:16:11 +03:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|