2024-08-20 09:21:58 +00:00
|
|
|
{
|
|
|
|
disko.devices = {
|
|
|
|
disk = {
|
|
|
|
main = {
|
|
|
|
device = "/dev/disk/by-path/pci-0000:02:00.0-nvme-1";
|
|
|
|
type = "disk";
|
|
|
|
content = {
|
|
|
|
type = "gpt";
|
|
|
|
partitions = {
|
|
|
|
ESP = {
|
|
|
|
end = "500M";
|
|
|
|
type = "EF00";
|
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "vfat";
|
|
|
|
mountpoint = "/boot";
|
2024-10-01 17:31:29 +00:00
|
|
|
mountOptions = [ "umask=0077" ];
|
2024-08-20 09:21:58 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
root = {
|
|
|
|
name = "root";
|
|
|
|
end = "-0";
|
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "f2fs";
|
|
|
|
mountpoint = "/";
|
2024-09-20 13:02:25 +00:00
|
|
|
extraArgs = [
|
|
|
|
"-O"
|
|
|
|
"extra_attr,inode_checksum,sb_checksum,compression"
|
|
|
|
];
|
|
|
|
mountOptions = [
|
|
|
|
"compress_algorithm=zstd:6,compress_chksum,atgc,gc_merge,lazytime,nodiscard"
|
|
|
|
];
|
2024-08-20 09:21:58 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|