summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ymir.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/ymir.nix b/ymir.nix
index ea30967c..bea8dee0 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -1199,7 +1199,9 @@ in rec {
1199 systemd.services."nextcloud-send-event-reminders" = 1199 systemd.services."nextcloud-send-event-reminders" =
1200 let cfg = config.services.nextcloud; 1200 let cfg = config.services.nextcloud;
1201 fpm = config.services.phpfpm.pools.nextcloud; 1201 fpm = config.services.phpfpm.pools.nextcloud;
1202 in { environment = fpm.phpEnv; 1202 in { environment = {
1203 inherit (fpm.phpEnv) NEXTCLOUD_CONFIG_DIR;
1204 };
1203 serviceConfig.Type = "oneshot"; 1205 serviceConfig.Type = "oneshot";
1204 serviceConfig.User = "nextcloud"; 1206 serviceConfig.User = "nextcloud";
1205 serviceConfig.ExecStart = "${fpm.phpPackage}/bin/php -f ${cfg.package}/cron.php"; 1207 serviceConfig.ExecStart = "${fpm.phpPackage}/bin/php -f ${cfg.package}/cron.php";