From 77ccca14bfafaa7461c1ab837c0f6b79b47f9b52 Mon Sep 17 00:00:00 2001 From: Anish L Date: Wed, 13 Jul 2022 18:41:03 +1000 Subject: [PATCH] test dhyan timer is deployable --- profiles/dhyan/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/profiles/dhyan/default.nix b/profiles/dhyan/default.nix index f10aef90..720262fd 100644 --- a/profiles/dhyan/default.nix +++ b/profiles/dhyan/default.nix @@ -1,8 +1,11 @@ { pkgs, ... }: { - # TODO scrappy script that requires dhyan be cloned to /home/anish/usr/dhyan - # dhyan needs secrets, and internet access to run, havent figured that out with nix yet + # TODO + # scrappy script that requires dhyan be cloned to /home/anish/usr/dhyan + # dhyan needs secrets, and internet access to install dependencies, havent figured that out with nix yet + # dhyan also depends on jdk11, but that's only to install dependencies, run `bb -m dhyan.main` once before installing this script + # If you've updated dhyan, you'll want to cd to /home/anish/usr/dhyan and run git pull systemd.services.dhyan = { serviceConfig.Type = "oneshot"; path = [ @@ -23,6 +26,6 @@ systemd.timers.dhyan = { wantedBy = [ "timers.target" ]; partOf = [ "kitaab-sync.service" ]; - timerConfig.OnCalendar = [ "*08:00:00" ]; + timerConfig.OnCalendar = [ "08:00:00" ]; }; }