This commit is contained in:
commit
7d364cdfac
69 changed files with 5268 additions and 0 deletions
30
hosts/rx4/services/open-webui-oci.nix
Normal file
30
hosts/rx4/services/open-webui-oci.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
inputs,
|
||||
constants,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [ inputs.synix.nixosModules.open-webui-oci ];
|
||||
|
||||
services.open-webui-oci = {
|
||||
enable = true;
|
||||
externalUrl = "https://" + constants.services.open-webui-oci.fqdn;
|
||||
port = 8083;
|
||||
# environmentFile = config.sops.templates."open-webui-oci/environment".path;
|
||||
# environment = {
|
||||
# AUDIO_STT_ENGINE = "openai";
|
||||
# AUDIO_TTS_ENGINE = "openai";
|
||||
# };
|
||||
};
|
||||
|
||||
# sops = {
|
||||
# secrets."open-webui-oci/stt-api-key" = { };
|
||||
# secrets."open-webui-oci/tts-api-key" = { };
|
||||
# templates."open-webui-oci/environment".content = ''
|
||||
# AUDIO_STT_OPENAI_API_KEY=${config.sops.placeholder."open-webui-oci/stt-api-key"}
|
||||
# AUDIO_TTS_OPENAI_API_KEY=${config.sops.placeholder."open-webui-oci/tts-api-key"}
|
||||
# '';
|
||||
# };
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue