blob: 6f9aa230bc06d8ff67440110231cca0d4b8168fa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{ config, ... }:
let
private = import ./private.nix;
in
{
imports = [
./ical2org.module.nix
./orgmode-notifier.module.nix
];
services.ical2org = {
enable = false;
icalLink = private.icalLink;
outputPath = "${config.home.homeDirectory}/nixos/extras/notes/calendar-sync.autogen.org";
syncFrequency = "*:0/10"; # Every 10 minutes
settings = {
filetags = "calendar";
email = private.email;
title = "calendar";
category = "calendar";
startup = "showeverything";
past = 6; # days
future = 30; # days
};
};
services.orgmode-notifier = {
enable = false;
pollFrequency = "*:0/1"; # Every minute
};
}
|