nixos/colony: Add media disk to darts VM

This commit is contained in:
Jack O'Sullivan 2023-11-13 22:00:02 +00:00
parent ddc2ed2919
commit 9d30d76b18

View File

@ -247,6 +247,19 @@
cleanShutdown.timeout = 120;
drives = [
(mkMerge [ (vmLVM "darts" "root") { frontendOpts.bootindex = 0; } ])
{
name = "media";
backend = {
driver = "host_device";
filename = "/dev/main/darts-media";
discard = "unmap";
};
format = {
driver = "raw";
discard = "unmap";
};
frontend = "virtio-blk";
}
];
};
};