modules/nixos/monitoring/matrix-hook: use package from nixpkgs
This commit is contained in:
parent
69ba31170a
commit
6cbfb10f9a
1 changed files with 1 additions and 14 deletions
|
@ -1,19 +1,6 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
matrixHook = pkgs.buildGoModule rec {
|
matrixHook = pkgs.matrix-hook;
|
||||||
pname = "matrix-hook";
|
|
||||||
version = "2e2770e685ca57e111b9dd2dc178cc6984404a25";
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "pinpox";
|
|
||||||
repo = "matrix-hook";
|
|
||||||
rev = version;
|
|
||||||
hash = "sha256-G5pq9sIz94V2uTYBcuHJsqD2/pMtxhWkAO8B0FncLbE=";
|
|
||||||
};
|
|
||||||
vendorHash = "sha256-185Wz9IpJRBmunl+KGj/iy37YeszbT3UYzyk9V994oQ=";
|
|
||||||
postInstall = ''
|
|
||||||
install message.html.tmpl -Dt $out
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
sops.secrets.nix-community-matrix-bot-token = { };
|
sops.secrets.nix-community-matrix-bot-token = { };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue