summary refs log tree commit diff
path: root/options.nix
blob: fa5f176014889ff49a3a3846992ed1dd7ed63300 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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";
      };
    };
  };
}