1
0
Fork 0

Merge pull request #5 from merspieler/main

Fix things up
This commit is contained in:
Pablo Ovelleiro Corral 2024-02-05 08:53:34 +01:00 committed by GitHub
commit 1c5d171b97
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View file

@ -52,7 +52,7 @@ inputs.alertmanager-ntfy.url = "github:pinpox/alertmanager-ntfy";
# Import the module in your configuration.nix
imports = [
self.inputs.alertmanager-ntfy.nixosModules.alertmanager-ntfy
self.inputs.alertmanager-ntfy.nixosModules.default
];
# Enable and set options

View file

@ -6,7 +6,7 @@ with import <nixpkgs>{};
version = "0.1";
src = ./.;
vendorSha256 = "sha256-k45e6RSIl3AQdOFQysIwJP9nlYsSFeaUznVIXfbYwLA=";
vendorHash = "sha256-k45e6RSIl3AQdOFQysIwJP9nlYsSFeaUznVIXfbYwLA=";
subPackages = [ "." ];
meta = with lib; {

View file

@ -35,7 +35,7 @@
version = "1.0.0";
src = ./.;
vendorSha256 = "sha256-Ezt1HDxGQ7DePF90HgHKkH7v365ICFdnfcWJipLhCwQ=";
vendorHash = "sha256-Ezt1HDxGQ7DePF90HgHKkH7v365ICFdnfcWJipLhCwQ=";
meta = with pkgs.lib; {
description = "Relay prometheus alerts to ntfy";

View file

@ -2,10 +2,10 @@
with lib;
# with lib;
let cfg = config.pinpox.services.alertmanager-ntfy;
let cfg = config.services.alertmanager-ntfy;
in {
options.pinpox.services.alertmanager-ntfy = {
options.services.alertmanager-ntfy = {
enable = mkEnableOption "alertmanager-ntfy service";
httpAddress = mkOption {