forked from DGNum/infrastructure
Ryan Lahfa
4bedb3f497
We also add a K80 specific patch for ollama. Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
22 lines
454 B
Nix
22 lines
454 B
Nix
_: {
|
|
microvm.autostart = [ "ml01" ];
|
|
microvm.vms.ml01 = {
|
|
config = {
|
|
networking.hostName = "ml01";
|
|
microvm = {
|
|
hypervisor = "cloud-hypervisor";
|
|
vcpu = 4;
|
|
mem = 4096;
|
|
balloonMem = 2048;
|
|
shares = [
|
|
{
|
|
source = "/nix/store";
|
|
mountPoint = "/nix/.ro-store";
|
|
tag = "ro-store";
|
|
proto = "virtiofs";
|
|
}
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|