diff --git a/hosts/default/apps/tuxstrap-reminder.nix b/hosts/default/apps/tuxstrap-crontab.nix similarity index 87% rename from hosts/default/apps/tuxstrap-reminder.nix rename to hosts/default/apps/tuxstrap-crontab.nix index 86d4e2c..185eb4e 100644 --- a/hosts/default/apps/tuxstrap-reminder.nix +++ b/hosts/default/apps/tuxstrap-crontab.nix @@ -17,7 +17,7 @@ pkgs.stdenv.mkDerivation { installPhase = '' mkdir -p $out/bin - cp daily-challenge-reminder-crontab.ts $out/bin/crontab-script.ts + # cp daily-challenge-reminder-crontab.ts $out/bin/crontab-script.ts cp tuxstrap-crontab $out/bin/ ''; } diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index f4d9c5c..056a891 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -1,8 +1,5 @@ { config, inputs, pkgs, ... }: -let - tuxstrapReminderCrontab = pkgs.callPackage ./apps/tuxstrap-reminder.nix {}; -in { imports = [ @@ -71,14 +68,6 @@ in portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; }; - - services.cron = { - enable = true; - systemCronJobs = [ - "*/1 * * * * ocbwoy3 bun run ${tuxstrapReminderCrontab}/bin/crontab-script.ts" - ]; - }; - programs.zsh = { enable = true; autosuggestions.enable = true; @@ -110,7 +99,7 @@ in hyfetch kitty inputs.ghostty.packages.${pkgs.stdenv.hostPlatform.system}.ghostty - # (pkgs.callPackage ./apps/tuxstrap.nix {}) + (callPackage ./apps/tuxstrap-crontab.nix {}) ]; xdg.terminal-exec.enable = true;