mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:19:22 +08:00
modules.services.nixvirt: fix
This commit is contained in:
@@ -149,7 +149,7 @@ inputs:
|
||||
inherit (vm) name;
|
||||
inherit (vm.value) uuid;
|
||||
type = "kvm";
|
||||
vcpu = { placement = "static"; count = vm.value.cpu.count; inherit (vm.value.cpu) set; };
|
||||
vcpu = { placement = "static"; count = vm.value.cpu.count; cpuset = vm.value.cpu.set; };
|
||||
memory =
|
||||
{
|
||||
count = vm.value.memory.sizeMB;
|
||||
|
||||
Reference in New Issue
Block a user