This commit is contained in:
2026-07-12 15:25:55 -03:00
commit 29377d0c9a
160 changed files with 6138 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
{
inputs,
lib,
config,
pkgs,
...
}:
{
imports = [
./accounts.nix
];
options.custom = {
jpporta-calendars.enable = lib.mkEnableOption "enable personal jpporta calendars";
};
config = lib.mkIf config.custom.jpporta-calendars.enable {
programs = {
vdirsyncer.enable = true;
khal = {
enable = true;
locale = {
timeformat = "%H:%M";
dateformat = "%Y-%m-%d";
longdateformat = "%Y-%m-%d";
datetimeformat = "%Y-%m-%d %H:%M";
longdatetimeformat = "%Y-%m-%d %H:%M";
};
};
};
services.vdirsyncer = {
enable = true;
frequency = "*:0/15"; # every 15 minutes; systemd OnCalendar format
};
};
}