From 10874c995e59ab068be532751d254d7e061ec1dd 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:43 +0100 Subject: [PATCH] Split sections in options --- infra/common/options.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/infra/common/options.nix b/infra/common/options.nix index d2c08c3a..f2ff8147 100644 --- a/infra/common/options.nix +++ b/infra/common/options.nix @@ -7,6 +7,10 @@ let in { options.fediversityVm = { + + ########################################################################## + ## Meta + name = mkOption { description = '' The name of the machine. Most of the time, this will look like `vm02XXX` @@ -37,6 +41,9 @@ in ''; }; + ########################################################################## + ## Virtualised hardware + sockets = mkOption { type = types.int; description = "The number of sockets of the VM."; @@ -55,6 +62,9 @@ in default = 2048; }; + ########################################################################## + ## Networking + domain = mkOption { description = '' The domain hosting the machine. Most of the time, this will be either of