From 296f80d38b50a2149b2a93743e06c9acf03a8f03 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sat, 29 May 2021 10:21:45 -0400 Subject: remove get-calendars service --- lib/linux.nix | 14 -------------- 1 file changed, 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"; - }; }; }; } -- cgit v1.2.3