mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 20:50:47 +03:00
44 lines
1.1 KiB
Nix
Executable File
44 lines
1.1 KiB
Nix
Executable File
{
|
|
disko.devices = {
|
|
disk = {
|
|
main = {
|
|
device = "/dev/vda";
|
|
type = "disk";
|
|
content = {
|
|
type = "gpt";
|
|
partitions = {
|
|
boot = {
|
|
type = "EF02";
|
|
size = "1M";
|
|
};
|
|
# ESP = {
|
|
# size = "500M";
|
|
# type = "EF00";
|
|
# content = {
|
|
# type = "filesystem";
|
|
# format = "vfat";
|
|
# mountpoint = "/boot";
|
|
# mountOptions = [ "umask=0077" ];
|
|
# };
|
|
# };
|
|
root = {
|
|
size = "100%";
|
|
content = {
|
|
type = "filesystem";
|
|
format = "ext4";
|
|
mountpoint = "/";
|
|
};
|
|
};
|
|
swap = {
|
|
size = "256M";
|
|
content = {
|
|
type = "swap";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|