summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorRobert Schütz <dev@schuetz-co.de>2021-03-08 10:09:30 +0100
committerGitHub <noreply@github.com>2021-03-08 10:09:30 +0100
commit6692b32105610b17efa5a00d8e5e87fd4be49734 (patch)
treeec9e9452f83f09b76450d19c3505e702d20446ab /nixos
parent2b74b052c0e776f85abdea91ecfcfb7cf87eeb0e (diff)
parent336c114214d07249815748bbefddf00a9edc8aa2 (diff)
Merge pull request #112125 from dotlambda/alerta
alerta: move to all-packages.nix and use buildPythonApplication
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/monitoring/alerta.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/monitoring/alerta.nix b/nixos/modules/services/monitoring/alerta.nix
index 34f2d41706a5..7c6eff713cb1 100644
--- a/nixos/modules/services/monitoring/alerta.nix
+++ b/nixos/modules/services/monitoring/alerta.nix
@@ -95,13 +95,13 @@ in
ALERTA_SVR_CONF_FILE = alertaConf;
};
serviceConfig = {
- ExecStart = "${pkgs.python36Packages.alerta-server}/bin/alertad run --port ${toString cfg.port} --host ${cfg.bind}";
+ ExecStart = "${pkgs.alerta-server}/bin/alertad run --port ${toString cfg.port} --host ${cfg.bind}";
User = "alerta";
Group = "alerta";
};
};
- environment.systemPackages = [ pkgs.python36Packages.alerta ];
+ environment.systemPackages = [ pkgs.alerta ];
users.users.alerta = {
uid = config.ids.uids.alerta;