Merge branch 'main' of github.com:pinpox/alertmanager-ntfy
This commit is contained in:
commit
9aa539bb4f
4 changed files with 5 additions and 5 deletions
|
@ -52,7 +52,7 @@ inputs.alertmanager-ntfy.url = "github:pinpox/alertmanager-ntfy";
|
||||||
|
|
||||||
# Import the module in your configuration.nix
|
# Import the module in your configuration.nix
|
||||||
imports = [
|
imports = [
|
||||||
self.inputs.alertmanager-nfty.nixosModules.alertmanager-ntfy
|
self.inputs.alertmanager-ntfy.nixosModules.default
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable and set options
|
# Enable and set options
|
||||||
|
|
|
@ -6,7 +6,7 @@ with import <nixpkgs>{};
|
||||||
version = "0.1";
|
version = "0.1";
|
||||||
|
|
||||||
src = ./.;
|
src = ./.;
|
||||||
vendorSha256 = "sha256-k45e6RSIl3AQdOFQysIwJP9nlYsSFeaUznVIXfbYwLA=";
|
vendorHash = "sha256-k45e6RSIl3AQdOFQysIwJP9nlYsSFeaUznVIXfbYwLA=";
|
||||||
subPackages = [ "." ];
|
subPackages = [ "." ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
version = "1.0.0";
|
version = "1.0.0";
|
||||||
|
|
||||||
src = ./.;
|
src = ./.;
|
||||||
vendorSha256 = "sha256-Ezt1HDxGQ7DePF90HgHKkH7v365ICFdnfcWJipLhCwQ=";
|
vendorHash = "sha256-Ezt1HDxGQ7DePF90HgHKkH7v365ICFdnfcWJipLhCwQ=";
|
||||||
|
|
||||||
meta = with pkgs.lib; {
|
meta = with pkgs.lib; {
|
||||||
description = "Relay prometheus alerts to ntfy";
|
description = "Relay prometheus alerts to ntfy";
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
# with lib;
|
# with lib;
|
||||||
let cfg = config.pinpox.services.alertmanager-ntfy;
|
let cfg = config.services.alertmanager-ntfy;
|
||||||
in {
|
in {
|
||||||
|
|
||||||
options.pinpox.services.alertmanager-ntfy = {
|
options.services.alertmanager-ntfy = {
|
||||||
enable = mkEnableOption "alertmanager-ntfy service";
|
enable = mkEnableOption "alertmanager-ntfy service";
|
||||||
|
|
||||||
httpAddress = mkOption {
|
httpAddress = mkOption {
|
||||||
|
|
Loading…
Reference in a new issue