Add options for sockets, cores and memory
This commit is contained in:
parent
71d1c612a4
commit
af4a0a0784
1 changed files with 18 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue