disko siken

This commit is contained in:
tulg 2025-10-19 21:56:53 +03:00
parent 014c7a45bb
commit 1b0796e4dd
8 changed files with 319 additions and 27 deletions

36
hosts/virgil/disko.nix Normal file
View file

@ -0,0 +1,36 @@
{
disko.devices = {
disk = {
nixos = {
type = "disk";
device = "/dev/vda";
content = {
type = "gpt";
partitions = {
boot = {
size = "1M";
type = "EF02"; # for grub MBR
};
ESP = {
size = "512M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
};
};
}