2023-04-25 17:24:01 +03:00
|
|
|
{ config, lib, pkgs, ... }: {
|
|
|
|
virtualisation.libvirt.guests.arch-matrix = {
|
|
|
|
user = config.mainuser;
|
|
|
|
group = "libvirtd";
|
2023-06-15 01:54:10 +03:00
|
|
|
# I need more ram... temporarily disabled
|
|
|
|
autoStart = false;
|
2023-04-25 17:24:01 +03:00
|
|
|
memory = 2 * 1024;
|
|
|
|
cpu = {
|
|
|
|
sockets = 1; cores = 1; threads = 1;
|
|
|
|
};
|
|
|
|
devices = {
|
|
|
|
disks = [ { diskFile = "/media/nas/libvirt/images/matrix-server.qcow2"; } ];
|
|
|
|
network = {
|
|
|
|
macAddress = "00:16:3e:5b:49:bf";
|
|
|
|
interfaceType = "bridge";
|
|
|
|
sourceDev = "br0";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|