diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-03-23 16:59:15 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-03-23 16:59:15 +0300 |
commit | f6e36a699ae2d073e340e0a5844b8e111ed3de37 (patch) | |
tree | 52bb1d04e7b027165245b55622859b8425105fc7 /flake.nix | |
parent | 2023-03-22 (diff) |
2023-03-23
Diffstat (limited to '')
-rw-r--r-- | flake.nix | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/flake.nix b/flake.nix index a1fe2f5..ae5d91a 100644 --- a/flake.nix +++ b/flake.nix @@ -145,17 +145,17 @@ # nixpkgs.follows = "nixpkgs"; # }; # }; - # alertmanager-gotify = { - # type = "github"; - # owner = "pinpox"; - # repo = "alertmanager-ntfy"; - # ref = "main"; - # inputs = { - # flake-compat.follows = "flake-compat"; - # flake-utils.follows = "flake-utils"; - # nixpkgs.follows = "nixpkgs"; - # }; - # }; + alertmanager-ntfy = { + type = "github"; + owner = "pinpox"; + repo = "alertmanager-ntfy"; + ref = "main"; + inputs = { + flake-compat.follows = "flake-compat"; + flake-utils.follows = "flake-utils"; + nixpkgs.follows = "nixpkgs"; + }; + }; flake-utils = { type = "github"; @@ -291,6 +291,14 @@ enable = true; types = ["text"]; }; + yamllint.enable = true; + promtool = { + enable = true; + name = "promtool"; + description = "Check Prometheus rules."; + entry = "${pkgs.prometheus.cli}/bin/promtool check rules"; + files = "(?x)^(modules/nixos/monitoring/rules/.*\.yaml)$"; + }; }; settings.deadnix.edit = true; }; |