summary refs log tree commit diff
path: root/options.nix
diff options
context:
space:
mode:
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";
+      };
+    };
+  };
+}