diff options
Diffstat (limited to 'trivionomicon/modules/athena-bccr/options.nix')
| -rw-r--r-- | trivionomicon/modules/athena-bccr/options.nix | 48 |
1 files changed, 25 insertions, 23 deletions
diff --git a/trivionomicon/modules/athena-bccr/options.nix b/trivionomicon/modules/athena-bccr/options.nix index dc4c986..7b6cf93 100644 --- a/trivionomicon/modules/athena-bccr/options.nix +++ b/trivionomicon/modules/athena-bccr/options.nix @@ -1,40 +1,42 @@ {lib, ...}: -with lib.types; let - mirror = lib.mkOption { - type = nullOr str; - default = null; - description = "release zip mirror base URL, if null then the release zip must be manually added to the Nix store"; - }; - - release = lib.mkOption { - type = str; - default = "latest"; - description = "pinned athena-bccr release tag"; - }; - - vendor = lib.mkOption { - type = enum ["athena" "idopte"]; - default = "idopte"; - description = "driver dvendor"; - }; -in { +with lib.types; { hm = { - inherit mirror release vendor; - gaudiHash = lib.mkOption { type = nullOr str; default = null; description = "hash of the Gaudi client"; }; + + mirror = lib.mkOption { + type = nullOr str; + default = null; + description = "release zip mirror base URL, if null then the release zip must be manually added to the Nix store"; + }; + + release = lib.mkOption { + type = str; + default = "latest"; + description = "pinned athena-bccr release tag"; + }; }; sys = { - inherit mirror release vendor; - group = lib.mkOption { type = str; default = "users"; description = "user group with full access to the smartcard reader"; }; + + mirror = lib.mkOption { + type = nullOr str; + default = null; + description = "release zip mirror base URL, if null then the release zip must be manually added to the Nix store"; + }; + + release = lib.mkOption { + type = str; + default = "latest"; + description = "pinned athena-bccr release tag"; + }; }; } |
