From 47df614082d1c38dd2d5c43af2215d0809ae28f6 Mon Sep 17 00:00:00 2001 From: OCbwoy3 Date: Tue, 31 Dec 2024 13:54:30 +0200 Subject: [PATCH] a --- hosts/default/apps/tuxstrap-reminder.nix | 3 +-- hosts/default/configuration.nix | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/hosts/default/apps/tuxstrap-reminder.nix b/hosts/default/apps/tuxstrap-reminder.nix index 8c9014d..86d4e2c 100644 --- a/hosts/default/apps/tuxstrap-reminder.nix +++ b/hosts/default/apps/tuxstrap-reminder.nix @@ -12,13 +12,12 @@ pkgs.stdenv.mkDerivation { buildInputs = [ pkgs.bun ]; buildPhase = '' - bun build ./daily-challenge-reminder-crontab.ts --compile --minify --outfile reminder-crontab-exec + bun build ./daily-challenge-reminder-crontab.ts --compile --outfile=tuxstrap-crontab ''; installPhase = '' mkdir -p $out/bin cp daily-challenge-reminder-crontab.ts $out/bin/crontab-script.ts - mv reminder-crontab-exec tuxstrap-crontab cp tuxstrap-crontab $out/bin/ ''; } diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index f4d9c5c..b9aa1a3 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -75,7 +75,7 @@ in services.cron = { enable = true; systemCronJobs = [ - "*/1 * * * * ocbwoy3 bun run ${tuxstrapReminderCrontab}/bin/crontab-script.ts" + "*/1 * * * * ocbwoy3 bun run ${tuxstrapReminderCrontab}/bin/tuxstrap-crontab" ]; };