nixos/colony: Increase shill resources

This commit is contained in:
Jack O'Sullivan 2022-06-11 16:42:00 +01:00
parent 1f51a3ec08
commit 502b96996a
2 changed files with 8 additions and 1 deletions

View File

@ -46,9 +46,16 @@
]));
hostDevices."${wanBDF}" = { };
};
shill = {
uuid = "e34569ec-d24e-446b-aca8-a3b27abc1f9b";
smp = {
cpus = 4;
threads = 2;
};
memory = 8192;
networks.vms.mac = "52:54:00:85:b3:b1";
cleanShutdown.timeout = 120;
drives = mkMerge ([
{
installer = {

View File

@ -147,7 +147,7 @@ let
"uuid ${i.uuid}"
"machine ${i.machine}"
"cpu ${i.cpu}"
"smp cpus=${toString i.smp.cpus},threads=${toString i.smp.threads}"
"smp cores=${toString i.smp.cpus},threads=${toString i.smp.threads}"
"m ${toString i.memory}"
"nographic"
"vga ${i.vga}"