mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 20:50:47 +03:00
34 lines
661 B
Nix
Executable File
34 lines
661 B
Nix
Executable File
{
|
|
disko.devices = {
|
|
disk = {
|
|
main = {
|
|
device = "/dev/vda";
|
|
type = "disk";
|
|
content = {
|
|
type = "gpt";
|
|
partitions = {
|
|
boot = {
|
|
type = "EF02";
|
|
size = "1M";
|
|
};
|
|
root = {
|
|
size = "100%";
|
|
content = {
|
|
type = "filesystem";
|
|
format = "ext4";
|
|
mountpoint = "/";
|
|
};
|
|
};
|
|
swap = {
|
|
size = "256M";
|
|
content = {
|
|
type = "swap";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|