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" ]; };