diff options
-rw-r--r-- | lib/linux.nix | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/linux.nix b/lib/linux.nix index 6823c8e..b42d775 100644 --- a/lib/linux.nix +++ b/lib/linux.nix @@ -439,26 +439,12 @@ in # make it the same as 'systemctl show mpd | grep LimitMEMLOCK" # might not be necessary? #mpd.Service.LimitMEMLOCK = "2085444096"; - "get-calendars".Service = { - Type = "oneshot"; - ExecStart = - map - ({id, name}: "${pkgs.curl}/bin/curl -s --netrc https://cal.simatime.com/ben/${id} --output ${homedir}/calendars/${name}.ical") - [ - {id = "D2A3E843-2D61-4F77-8BF9-D2A90C291B78"; name = "schedule";} - {id = "7b8c1220-fdda-b77c-4b1a-b805fdec7aac"; name = "calendar";} - ]; - }; }; timers = { "gpg-refresh" = { Install.WantedBy = ["timers.target"]; Timer.OnCalendar = "daily"; }; - "get-calendars" = { - Install.WantedBy = ["timers.target"]; - Timer.OnCalendar = "minutely"; - }; }; }; } |