summary refs log tree commit diff
path: root/options.nix
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@internetsafetylabs.org>2025-07-31 15:25:21 -0700
committerIrene Knapp <ireneista@internetsafetylabs.org>2025-07-31 15:30:51 -0700
commit58dd4440eaf6be9d260809b9dcb361d1f46f2abb (patch)
treefba1b9a42bbac46fa320010d72cca9b6b6b0b77c /options.nix
parentd68e26828669648f5f91ac0a44a56a5f5193a432 (diff)
try to spin up haproxy, nginx, and an ACME client
no login/ACL stuff yet

Change-Id: If6eeaed671b2711dc809e94ea00bc6387dcae2f4
Diffstat (limited to 'options.nix')
-rw-r--r--options.nix27
1 files changed, 27 insertions, 0 deletions
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";
+      };
+    };
+  };
+}