Skip to content

Commit

Permalink
Merge pull request #60 from KP64/feat/glance
Browse files Browse the repository at this point in the history
  • Loading branch information
oddlama authored Jan 3, 2025
2 parents ab69999 + 3098947 commit a161832
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions icons/services/glance.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 @@ -156,6 +156,12 @@ in {
details.listen = mkIf (address != null && port != null) {text = "${address}:${toString port}";};
};

glance = mkIf config.services.glance.enable {
name = "Glance";
icon = "services.glance";
details.listen = mkIf config.services.glance.openFirewall {text = "${config.services.glance.settings.server.host}:${toString config.services.glance.settings.server.port}";};
};

grafana = let
address = config.services.grafana.settings.server.http_addr or null;
port = config.services.grafana.settings.server.http_port or null;
Expand Down

0 comments on commit a161832

Please sign in to comment.