diff options
Diffstat (limited to 'modules/services/options.nix')
| -rw-r--r-- | modules/services/options.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/modules/services/options.nix b/modules/services/options.nix index 5744471..17a4e6b 100644 --- a/modules/services/options.nix +++ b/modules/services/options.nix @@ -164,5 +164,24 @@ in { example = "/run/secrets.d/caddy-env"; }; }; + + copilot-api = { + enable = mkEnableOption "GitHub Copilot API proxy"; + listenAddr = mkOption { + description = "Address to listen on"; + type = ipAddr; + default = "127.0.0.1"; + }; + port = mkOption { + description = "Port to listen on"; + type = types.port; + default = 4141; + }; + githubToken = mkOption { + description = "Path to file containing GitHub token"; + type = types.nullOr types.str; + default = null; + }; + }; }; } |
