summaryrefslogtreecommitdiff
path: root/profiles/station
diff options
context:
space:
mode:
authorMike Vink <ivi@vinkies.net>2024-01-16 21:04:32 +0100
committerMike Vink <ivi@vinkies.net>2024-01-16 21:04:32 +0100
commit902e9a96aa3ef853139c5af402d2f5bd83b96a38 (patch)
tree4957200b12cfe46068082d1ba2e90aedfa1cc217 /profiles/station
parentc74aa1133981264f54eb0bdf5533d3164a4828fb (diff)
sync calendars
Diffstat (limited to 'profiles/station')
-rw-r--r--profiles/station/caldav.nix36
-rw-r--r--profiles/station/suckless.nix2
2 files changed, 37 insertions, 1 deletions
diff --git a/profiles/station/caldav.nix b/profiles/station/caldav.nix
new file mode 100644
index 0000000..67a26d3
--- /dev/null
+++ b/profiles/station/caldav.nix
@@ -0,0 +1,36 @@
+{ lib, ... }: with lib; {
+ hm = {
+ accounts.calendar.basePath = "Cal";
+ services.vdirsyncer.enable = true;
+ programs = {
+ vdirsyncer.enable = true;
+ khal.enable = true;
+ };
+ accounts.calendar.accounts = {
+ mike = {
+ primary = true;
+ primaryCollection = "tasks";
+ local = {
+ type = "filesystem";
+ fileExt = ".ics";
+ };
+ remote = {
+ type = "caldav";
+ url = "https://cal.${ivi.domain}";
+ userName = "mike";
+ passwordCommand = ["echo" "''"];
+ };
+ vdirsyncer = {
+ enable = true;
+ collections = ["tasks" "pomp"];
+ conflictResolution = "remote wins";
+ };
+ khal = {
+ enable = true;
+ type = "discover";
+ color = "light green";
+ };
+ };
+ };
+ };
+}
diff --git a/profiles/station/suckless.nix b/profiles/station/suckless.nix
index 5afd067..8986e6d 100644
--- a/profiles/station/suckless.nix
+++ b/profiles/station/suckless.nix
@@ -47,7 +47,7 @@
offset = "0x19";
padding = 2;
horizontal_padding = 2;
- transparency = 25;
+ transparency = 0;
font = "Monospace 12";
format = "<b>%s</b>\\n%b";
};