Skip to content

Commit

Permalink
Merge pull request #55 from KP64/main
Browse files Browse the repository at this point in the history
feat(extractors/services): Add support for ollama
  • Loading branch information
oddlama authored Dec 15, 2024
2 parents 00731fc + aa63804 commit ed92f72
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions icons/services/ollama.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions nixos/extractors/services.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit ed92f72

Please sign in to comment.