diff --git a/systems/x86_64-linux/sgx/default.nix b/systems/x86_64-linux/sgx/default.nix index 6873e12..a49666d 100644 --- a/systems/x86_64-linux/sgx/default.nix +++ b/systems/x86_64-linux/sgx/default.nix @@ -10,6 +10,7 @@ ./fileserver.nix ./backup.nix ./network.nix + ./openwebui.nix ]; sops.secrets.pccs.sopsFile = ../../../.secrets/sgx/pccs.yaml; diff --git a/systems/x86_64-linux/sgx/openwebui.nix b/systems/x86_64-linux/sgx/openwebui.nix new file mode 100644 index 0000000..61f90ec --- /dev/null +++ b/systems/x86_64-linux/sgx/openwebui.nix @@ -0,0 +1,16 @@ +{ ... }: +{ + services.open-webui = { + enable = true; + port = 8080; + host = "0.0.0.0"; + enviroment = { + ANONYMIZED_TELEMETRY = "False"; + DO_NOT_TRACK = "True"; + SCARF_NO_ANALYTICS = "True"; + OLLAMA_API_BASE_URL = "http://m4:11434"; + # Disable authentication + WEBUI_AUTH = "False"; + }; + }; +}