about summary refs log tree commit diff
path: root/modules/alertmanager.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-05-05 14:28:31 +0300
committerAzat Bahawi <azat@bahawi.net>2024-05-05 14:28:31 +0300
commit389becf9700d3dee7f09073ce4d235fc7c30b5c8 (patch)
tree3db9d75bd5275614fc904184c97b3133f38bc3d0 /modules/alertmanager.nix
parent2024-05-04 (diff)
2024-05-05
Diffstat (limited to '')
-rw-r--r--modules/alertmanager.nix6
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/alertmanager.nix b/modules/alertmanager.nix
index 022f631..e5366e5 100644
--- a/modules/alertmanager.nix
+++ b/modules/alertmanager.nix
@@ -3,7 +3,6 @@
   inputs,
   lib,
   libNginx,
-  pkgs,
   this,
   ...
 }:
@@ -90,10 +89,7 @@ in
     topology = with cfg; {
       nodes.${this.hostname}.services.alertmanager = {
         name = "Alertmanager";
-        icon = pkgs.fetchurl {
-          url = "https://www.svgrepo.com/download/354219/prometheus.svg";
-          sha256 = "sha256-4n3v95vfHYz65Hh/8BeRf4T++EGdOLKHuwVuusYt9dc=";
-        };
+        icon = "${inputs.homelab-svg-assets}/assets/prometheus.svg";
         info = domain;
         details.listen.text = "127.0.0.1:${toString port}";
       };

Consider giving Nix/NixOS a try! <3