Make sure calendar folders exist
This commit is contained in:
@@ -1,10 +1,19 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
let
|
||||||
|
calendarsPath = "${config.xdg.dataHome}/calendars";
|
||||||
|
in
|
||||||
{
|
{
|
||||||
programs.pimsync.enable = true;
|
programs.pimsync.enable = true;
|
||||||
services.pimsync.enable = true;
|
services.pimsync.enable = true;
|
||||||
|
|
||||||
|
systemd.user.tmpfiles.rules = [
|
||||||
|
"d ${calendarsPath} 0700 - - - -"
|
||||||
|
"d ${calendarsPath}/radicale 0700 - - - -"
|
||||||
|
"d ${calendarsPath}/university 0700 - - - -"
|
||||||
|
];
|
||||||
|
|
||||||
accounts.calendar = {
|
accounts.calendar = {
|
||||||
basePath = "${config.xdg.dataHome}/calendars";
|
basePath = calendarsPath;
|
||||||
accounts = {
|
accounts = {
|
||||||
"radicale" = {
|
"radicale" = {
|
||||||
primary = true;
|
primary = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user