2022-03-31 09:36:51 +02:00
|
|
|
# Inspiré du club réseau
|
|
|
|
{ config, lib, ... }:
|
|
|
|
with lib;
|
2022-03-31 10:19:43 +02:00
|
|
|
with types;
|
2022-03-31 09:36:51 +02:00
|
|
|
{
|
|
|
|
options.my = {
|
|
|
|
email = mkOption {
|
|
|
|
description = "Admin email";
|
|
|
|
type = str;
|
|
|
|
default = "";
|
|
|
|
example = "hackens@clipper.ens.fr";
|
|
|
|
};
|
|
|
|
acmeStaging = mkOption {
|
|
|
|
description = "Enable staging servers";
|
|
|
|
type = bool;
|
|
|
|
default = false;
|
|
|
|
};
|
|
|
|
subZone = mkOption {
|
|
|
|
description = "Sub zone for hosting the services";
|
2022-03-31 10:19:43 +02:00
|
|
|
type = str;
|
|
|
|
};
|
2022-03-31 09:36:51 +02:00
|
|
|
debug = mkOption {
|
|
|
|
description = "Debug mode";
|
|
|
|
type = bool;
|
|
|
|
default = false;
|
2022-03-31 10:19:43 +02:00
|
|
|
};
|
2022-03-31 09:36:51 +02:00
|
|
|
};
|
2022-03-31 10:19:43 +02:00
|
|
|
}
|