config-perso/machines/kat-www/disks.nix

30 lines
580 B
Nix
Raw Normal View History

2024-10-28 11:15:27 +01:00
{
disko.devices = {
disk = {
vda = {
device = "/dev/vda";
type = "disk";
content = {
type = "gpt";
partitions = {
ESP = {
type = "EF00";
2024-11-29 20:41:17 +01:00
size = "100%";
2024-10-28 11:15:27 +01:00
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
};
};
};
};
};
2024-11-29 20:41:17 +01:00
boot.initrd.kernelModules = [ "virtiofs" ];
fileSystems."/" = {
device = "root";
fsType = "virtiofs";
};
2024-10-28 11:15:27 +01:00
}