diff --git a/nixos/boxes/colony/vms/default.nix b/nixos/boxes/colony/vms/default.nix index c7566b5..6df91c9 100644 --- a/nixos/boxes/colony/vms/default.nix +++ b/nixos/boxes/colony/vms/default.nix @@ -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"; + } ]; }; };