nixos/uptime-kuma: add ping in path (#212001)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Julien Malka 2023-01-22 23:03:45 +01:00 committed by GitHub
parent 29c45e8602
commit 808663bd02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";