diff options
author | Ben Sima <ben@bsima.me> | 2021-05-29 10:21:45 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2021-05-29 10:36:53 -0400 |
commit | 296f80d38b50a2149b2a93743e06c9acf03a8f03 (patch) | |
tree | 811f883e5883853e3040a27e3a969d0f704c1c5c /lib | |
parent | e2e466e4ac94e1d0c5d4ba0d4f6e4d56ebca2c5c (diff) |
remove get-calendars service
Diffstat (limited to 'lib')
-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"; - }; }; }; } |