Add options for sockets, cores and memory

This commit is contained in:
Nicolas Jeannerod 2025-02-24 12:50:33 +01:00
parent 71d1c612a4
commit af4a0a0784
Signed by: Niols
GPG key ID: 35DB9EC8886E1CB8

View file

@ -37,6 +37,24 @@ in
''; '';
}; };
sockets = mkOption {
type = types.int;
description = "The number of sockets of the VM.";
default = 1;
};
cores = mkOption {
type = types.int;
description = "The number of cores of the VM.";
default = 1;
};
memory = mkOption {
type = types.int;
description = "The amount of memory of the VM in MiB.";
default = 2048;
};
domain = mkOption { domain = mkOption {
description = '' description = ''
The domain hosting the machine. Most of the time, this will be either of The domain hosting the machine. Most of the time, this will be either of