From e0d5de32cdee6560a921ea7943bf03bdaf124ff6 Mon Sep 17 00:00:00 2001 From: niten Date: Wed, 11 Oct 2023 19:57:08 -0700 Subject: [PATCH] Path never fuckin works --- dovecot.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dovecot.nix b/dovecot.nix index 1b72ca1..ddfbd60 100644 --- a/dovecot.nix +++ b/dovecot.nix @@ -234,9 +234,8 @@ in { services = let solrJob = params: { requires = [ "dovecot2.service" ]; - path = with pkgs; [ curl ]; serviceConfig = { - ExecStart = "curl http://${cfg.solr.host}:${ + ExecStart = "${pkgs.curl}/bin/curl http://${cfg.solr.host}:${ toString cfg.solr.port }/solr/dovecot/update?${params}"; PrivateDevices = true;