From af4a0a0784cced4f2bb2df9033ec3edece3df23f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nicolas=20=E2=80=9CNiols=E2=80=9D=20Jeannerod?=
 <nicolas.jeannerod@moduscreate.com>
Date: Mon, 24 Feb 2025 12:50:33 +0100
Subject: [PATCH] Add options for sockets, cores and memory

---
 infra/common/options.nix | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/infra/common/options.nix b/infra/common/options.nix
index 4ea5e62e..d2c08c3a 100644
--- a/infra/common/options.nix
+++ b/infra/common/options.nix
@@ -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 {
       description = ''
         The domain hosting the machine. Most of the time, this will be either of