From aa63804951ca65dadff5123628d58789c60046cc Mon Sep 17 00:00:00 2001 From: KP64 Date: Thu, 12 Dec 2024 14:54:37 +0100 Subject: [PATCH] feat(extractors/services): Add support for ollama --- icons/services/ollama.svg | 1 + nixos/extractors/services.nix | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 icons/services/ollama.svg diff --git a/icons/services/ollama.svg b/icons/services/ollama.svg new file mode 100644 index 0000000..3dc2e8f --- /dev/null +++ b/icons/services/ollama.svg @@ -0,0 +1 @@ + diff --git a/nixos/extractors/services.nix b/nixos/extractors/services.nix index 656720f..1339c26 100644 --- a/nixos/extractors/services.nix +++ b/nixos/extractors/services.nix @@ -325,6 +325,12 @@ in { info = config.services.oauth2-proxy.httpAddress; }; + ollama = mkIf config.services.ollama.enable { + name = "Ollama"; + icon = "services.ollama"; + details.listen = mkIf config.services.ollama.openFirewall {text = "${config.services.ollama.host}:${toString config.services.ollama.port}";}; + }; + openssh = mkIf config.services.openssh.enable { hidden = mkDefault true; # Causes a lot of clutter name = "OpenSSH";