summaryrefslogtreecommitdiff
path: root/trivionomicon/modules/athena-bccr/options.nix
blob: eb61cf518b08d3a4bace6aae4dd7b63a43bc3664 (plain)
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
28
29
30
{lib, ...}:
with lib.types; {
  hm = {
    gaudiHash = lib.mkOption {
      type = nullOr str;
      default = null;
      description = "hash of the Gaudi client";
    };

    release = lib.mkOption {
      type = str;
      default = "latest";
      description = "pinned athena-bccr release tag";
    };
  };

  sys = {
    group = lib.mkOption {
      type = str;
      default = "users";
      description = "user group with full access to the smartcard reader";
    };

    release = lib.mkOption {
      type = str;
      default = "latest";
      description = "pinned athena-bccr release tag";
    };
  };
}