aboutsummaryrefslogtreecommitdiff
path: root/modules/calendar.home/default.nix
blob: 997e2ebec617b5a12d09749638fff31498d16546 (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
{ config, ... }:
let
  private = import ./private.nix;
in
{
  imports = [ ./ical2org.module.nix ];

  services.ical2org = {
    enable = true;
    icalLink = private.icalLink;
    outputPath = "${config.home.homeDirectory}/nixos/extras/notes/calendar-sync.autogen.org";
    syncFrequency = "*:0/10";
    settings = {
      filetags = "calendar";
      email = private.email;
      title = "calendar";
      category = "calendar";
      startup = "showeverything";
      past = 6; # days
      future = 30; # days
    };
  };
}