diff options
author | Robert Schütz <dev@schuetz-co.de> | 2021-03-08 10:09:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-08 10:09:30 +0100 |
commit | 6692b32105610b17efa5a00d8e5e87fd4be49734 (patch) | |
tree | ec9e9452f83f09b76450d19c3505e702d20446ab /nixos/modules | |
parent | 2b74b052c0e776f85abdea91ecfcfb7cf87eeb0e (diff) | |
parent | 336c114214d07249815748bbefddf00a9edc8aa2 (diff) |
Merge pull request #112125 from dotlambda/alerta
alerta: move to all-packages.nix and use buildPythonApplication
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/monitoring/alerta.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/monitoring/alerta.nix b/nixos/modules/services/monitoring/alerta.nix index 34f2d41706a56..7c6eff713cb12 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; |