diff --git a/icons/services/glance.svg b/icons/services/glance.svg new file mode 100644 index 0000000..29de8b0 --- /dev/null +++ b/icons/services/glance.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/nixos/extractors/services.nix b/nixos/extractors/services.nix index 4888309..271fb8d 100644 --- a/nixos/extractors/services.nix +++ b/nixos/extractors/services.nix @@ -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;