Update work calendar setup
Sync new work calendar to fix duplicate issues Sync old calendar as read-only ics link to see invited events Re-enable vdirsyncer service for work machines
This commit is contained in:
parent
a878434e75
commit
2ad36439c8
|
@ -42,7 +42,8 @@
|
||||||
ukaea = let emailConfig = config.accounts.email.accounts.ukaea;
|
ukaea = let emailConfig = config.accounts.email.accounts.ukaea;
|
||||||
in rec {
|
in rec {
|
||||||
inherit local;
|
inherit local;
|
||||||
primaryCollection = "Calendar";
|
primary = lib.mkDefault false;
|
||||||
|
primaryCollection = "Work";
|
||||||
remote = rec {
|
remote = rec {
|
||||||
inherit (emailConfig) userName passwordCommand;
|
inherit (emailConfig) userName passwordCommand;
|
||||||
type = "caldav";
|
type = "caldav";
|
||||||
|
@ -50,7 +51,7 @@
|
||||||
};
|
};
|
||||||
vdirsyncer = {
|
vdirsyncer = {
|
||||||
enable = lib.mkDefault emailConfig.mbsync.enable;
|
enable = lib.mkDefault emailConfig.mbsync.enable;
|
||||||
collections = [ "calendar" ];
|
collections = [ "Work" ];
|
||||||
metadata = [ "color" "displayname" ];
|
metadata = [ "color" "displayname" ];
|
||||||
itemTypes = [ "VEVENT" ];
|
itemTypes = [ "VEVENT" ];
|
||||||
};
|
};
|
||||||
|
@ -59,6 +60,24 @@
|
||||||
type = "discover";
|
type = "discover";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
outlook = rec {
|
||||||
|
inherit local;
|
||||||
|
remote = {
|
||||||
|
type = "http";
|
||||||
|
url =
|
||||||
|
"https://outlook.office365.com/owa/calendar/57fac11ebefa4d76936bb57c58cea2c0@ukaea.uk/f00cf5046175418c881b15ae1734d35f4235780993826029606/S-1-8-4280276996-1465607807-3846002500-2142210095/reachcalendar.ics";
|
||||||
|
};
|
||||||
|
vdirsyncer = {
|
||||||
|
enable = true;
|
||||||
|
collections = null;
|
||||||
|
};
|
||||||
|
khal = {
|
||||||
|
inherit (vdirsyncer) enable;
|
||||||
|
color = "dark blue";
|
||||||
|
type = "calendar";
|
||||||
|
readOnly = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,9 +12,11 @@
|
||||||
proton.primary = false;
|
proton.primary = false;
|
||||||
ukaea.primary = true;
|
ukaea.primary = true;
|
||||||
};
|
};
|
||||||
calendar.accounts.nextcloud.vdirsyncer.enable = false; # TEMP until fixed
|
calendar.accounts = {
|
||||||
|
nextcloud.primary = false;
|
||||||
|
ukaea.primary = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
services.vdirsyncer.enable = lib.mkForce false; # TEMP until fixed
|
|
||||||
xdg.configFile."hypr/extra.conf".text = ''
|
xdg.configFile."hypr/extra.conf".text = ''
|
||||||
misc {
|
misc {
|
||||||
disable_hyprland_logo = true
|
disable_hyprland_logo = true
|
||||||
|
|
Loading…
Reference in a new issue