This commit is contained in:
2024-12-31 23:13:31 +02:00
parent 5b616eb1de
commit 94f2c28237
2 changed files with 2 additions and 13 deletions

View File

@@ -17,7 +17,7 @@ pkgs.stdenv.mkDerivation {
installPhase = '' installPhase = ''
mkdir -p $out/bin 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/ cp tuxstrap-crontab $out/bin/
''; '';
} }

View File

@@ -1,8 +1,5 @@
{ config, inputs, pkgs, ... }: { config, inputs, pkgs, ... }:
let
tuxstrapReminderCrontab = pkgs.callPackage ./apps/tuxstrap-reminder.nix {};
in
{ {
imports = [ imports = [
@@ -71,14 +68,6 @@ in
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; 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 = { programs.zsh = {
enable = true; enable = true;
autosuggestions.enable = true; autosuggestions.enable = true;
@@ -110,7 +99,7 @@ in
hyfetch hyfetch
kitty kitty
inputs.ghostty.packages.${pkgs.stdenv.hostPlatform.system}.ghostty inputs.ghostty.packages.${pkgs.stdenv.hostPlatform.system}.ghostty
# (pkgs.callPackage ./apps/tuxstrap.nix {}) (callPackage ./apps/tuxstrap-crontab.nix {})
]; ];
xdg.terminal-exec.enable = true; xdg.terminal-exec.enable = true;