Files
2026-10-02 09:01:55 +02:00

49 lines
1.2 KiB
Nix

{
disko.devices = {
disk = {
main = {
type = "disk";
device = "/dev/vda";
content = {
type = "gpt";
partitions = {
boot = {
size = "1M";
type = "EF02"; # for GRUB MBR
priority = 1;
};
esp = {
size = "512M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = ["defaults" "umask=0077"];
};
};
root = {
size = "80G";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
mountOptions = ["noatime" "nodiratime" "discard"];
};
};
var = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/var";
mountOptions = ["noatime" "nodiratime" "discard"];
};
};
};
};
};
};
};
}