53 lines
1.1 KiB
Nix
53 lines
1.1 KiB
Nix
{
|
|
disko = {
|
|
devices = {
|
|
disk = {
|
|
main = {
|
|
device = "/dev/nvme0n1";
|
|
type = "disk";
|
|
content = {
|
|
type = "gpt";
|
|
partitions = {
|
|
ESP = {
|
|
size = "10M";
|
|
type = "EF00";
|
|
content = {
|
|
type = "filesystem";
|
|
format = "vfat";
|
|
mountpoint = "/efi";
|
|
};
|
|
};
|
|
boot = {
|
|
size = "1G";
|
|
content = {
|
|
type = "filesystem";
|
|
format = "ext2";
|
|
mountpoint = "/boot";
|
|
};
|
|
};
|
|
|
|
swap = {
|
|
size = "20G";
|
|
content = {
|
|
type = "swap";
|
|
resumeDevice = true;
|
|
};
|
|
};
|
|
|
|
root = {
|
|
size = "100%";
|
|
content = {
|
|
type = "filesystem";
|
|
format = "ext4";
|
|
mountpoint = "/";
|
|
};
|
|
};
|
|
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|