From 58dd4440eaf6be9d260809b9dcb361d1f46f2abb Mon Sep 17 00:00:00 2001 From: Irene Knapp Date: Thu, 31 Jul 2025 15:25:21 -0700 Subject: try to spin up haproxy, nginx, and an ACME client no login/ACL stuff yet Change-Id: If6eeaed671b2711dc809e94ea00bc6387dcae2f4 --- options.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 options.nix (limited to 'options.nix') diff --git a/options.nix b/options.nix new file mode 100644 index 0000000..fa5f176 --- /dev/null +++ b/options.nix @@ -0,0 +1,27 @@ +{ lib, ... }: + +{ + options = { + smalltech = { + adminEmail = lib.mkOption { + description = '' + An email address for correspondence related to a variety of technical + administration tasks, including from LetsEncrypt. This may potentially + be made public. + ''; + type = lib.types.nullOr lib.types.str; + default = null; + example = "admin@example.com"; + }; + + domain = lib.mkOption { + description = '' + The internet domain name on which you intend to host your + infrastructure. + ''; + type = lib.types.str; + example = "example.com"; + }; + }; + }; +} -- cgit 1.4.1