calendar to derek
This commit is contained in:
@@ -1,53 +0,0 @@
|
||||
{...}: {
|
||||
programs.vdirsyncer = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
programs.khal = {
|
||||
enable = true;
|
||||
locale = {
|
||||
timeformat = "%H:%M";
|
||||
dateformat = "%d/%m/%Y";
|
||||
longdateformat = "%d/%m/%Y";
|
||||
datetimeformat = "%d/%m/%Y %H:%M";
|
||||
longdatetimeformat = "%d/%m/%Y %H:%M";
|
||||
};
|
||||
};
|
||||
|
||||
accounts.calendar = {
|
||||
basePath = ".local/share/calendars";
|
||||
|
||||
accounts.icloud = {
|
||||
primary = true;
|
||||
primaryCollection = "home";
|
||||
|
||||
remote = {
|
||||
type = "caldav";
|
||||
url = "https://caldav.icloud.com/";
|
||||
userName = "christoph@schmatzler.com";
|
||||
passwordCommand = ["cat" "/run/secrets/tahani-icloud-password"];
|
||||
};
|
||||
|
||||
local = {
|
||||
type = "filesystem";
|
||||
fileExt = ".ics";
|
||||
};
|
||||
|
||||
vdirsyncer = {
|
||||
enable = true;
|
||||
collections = ["from a" "from b"];
|
||||
metadata = ["color" "displayname"];
|
||||
};
|
||||
|
||||
khal = {
|
||||
enable = true;
|
||||
type = "discover";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.vdirsyncer = {
|
||||
enable = true;
|
||||
frequency = "*:0/15";
|
||||
};
|
||||
}
|
||||
@@ -43,7 +43,6 @@
|
||||
../../profiles/zk.nix
|
||||
../../profiles/zoxide.nix
|
||||
../../profiles/zsh.nix
|
||||
./calendar.nix
|
||||
inputs.nixvim.homeModules.nixvim
|
||||
];
|
||||
|
||||
|
||||
@@ -1,13 +1,8 @@
|
||||
{user, ...}: {
|
||||
{...}: {
|
||||
sops.secrets = {
|
||||
tahani-paperless-password = {
|
||||
sopsFile = ../../secrets/tahani-paperless-password;
|
||||
format = "binary";
|
||||
};
|
||||
tahani-icloud-password = {
|
||||
sopsFile = ../../secrets/tahani-icloud-password;
|
||||
format = "binary";
|
||||
owner = user;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user