Make sure calendar folders exist

This commit is contained in:
2025-12-01 01:58:23 +01:00
parent 4b92ff743e
commit 2c36e9738a

View File

@@ -1,10 +1,19 @@
{ config, pkgs, ... }:
let
calendarsPath = "${config.xdg.dataHome}/calendars";
in
{
programs.pimsync.enable = true;
services.pimsync.enable = true;
systemd.user.tmpfiles.rules = [
"d ${calendarsPath} 0700 - - - -"
"d ${calendarsPath}/radicale 0700 - - - -"
"d ${calendarsPath}/university 0700 - - - -"
];
accounts.calendar = {
basePath = "${config.xdg.dataHome}/calendars";
basePath = calendarsPath;
accounts = {
"radicale" = {
primary = true;