diff options
author | Julien Malka <julien@malka.sh> | 2023-01-22 23:03:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-22 23:03:45 +0100 |
commit | 808663bd02143086e23418244b969ffe23f2a912 (patch) | |
tree | 847905e79e36cbe489f15cbcb942450ba6c01939 /nixos | |
parent | 29c45e860257d1ce847cff759bf9297b2b129431 (diff) |
nixos/uptime-kuma: add ping in path (#212001)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/monitoring/uptime-kuma.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/monitoring/uptime-kuma.nix b/nixos/modules/services/monitoring/uptime-kuma.nix index 455721b3a0e29..886e14b5f6c9f 100644 --- a/nixos/modules/services/monitoring/uptime-kuma.nix +++ b/nixos/modules/services/monitoring/uptime-kuma.nix @@ -50,7 +50,7 @@ in after = [ "network.target" ]; wantedBy = [ "multi-user.target" ]; environment = cfg.settings; - path = lib.mkIf cfg.appriseSupport (with pkgs; [ apprise ]); + path = with pkgs; [ unixtools.ping ] ++ lib.optional cfg.appriseSupport apprise; serviceConfig = { Type = "simple"; StateDirectory = "uptime-kuma"; |