recreate matrix vm with fedora

This commit is contained in:
Dmitriy Kholkin 2023-07-08 02:17:59 +03:00
parent 1c13225e98
commit 750a106e0b

View File

@ -1,15 +1,15 @@
{ config, lib, pkgs, ... }: { { config, lib, pkgs, ... }: {
virtualisation.libvirt.guests.arch-matrix = { virtualisation.libvirt.guests.fedora-synapse = {
autoStart = true;
user = config.mainuser; user = config.mainuser;
group = "libvirtd"; group = "libvirtd";
# I need more ram... temporarily disabled uefi = true;
autoStart = true;
memory = 2 * 1024; memory = 2 * 1024;
cpu = { cpu = {
sockets = 1; cores = 1; threads = 1; sockets = 1; cores = 1; threads = 2;
}; };
devices = { devices = {
disks = [ { diskFile = "/media/nas/libvirt/images/matrix-server.qcow2"; } ]; disks = [ { diskFile = "/media/nas/libvirt/images/fedora-synapse.img"; type = "raw"; } ];
network = { network = {
macAddress = "00:16:3e:5b:49:bf"; macAddress = "00:16:3e:5b:49:bf";
interfaceType = "bridge"; interfaceType = "bridge";