7c0874c228
Gonna have to generate some vdirsyncer config, reusing the toIni stuff, nice. Change-Id: I036ce9990f70d3b035e47151f336d0d3971f2c91 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5888 Reviewed-by: Profpatsch <mail@profpatsch.de> Tested-by: BuildkiteCI
31 lines
638 B
Nix
31 lines
638 B
Nix
{ depot, pkgs, ... }:
|
|
|
|
let
|
|
sync-to-dir = depot.users.Profpatsch.writers.python3
|
|
{
|
|
name = "sync-ics-to-dir";
|
|
libraries = (py: [
|
|
py.httpx
|
|
py.icalendar
|
|
]);
|
|
} ./sync-ics-to-dir.py;
|
|
|
|
config =
|
|
depot.users.Profpatsch.importDhall.importDhall
|
|
{
|
|
root = ./..;
|
|
files = [
|
|
"sync-abfall-ics-aichach-friedberg/ics-to-caldav.dhall"
|
|
"dhall/lib.dhall"
|
|
"ini/ini.dhall"
|
|
];
|
|
main = "sync-abfall-ics-aichach-friedberg/ics-to-caldav.dhall";
|
|
deps = [
|
|
];
|
|
}
|
|
depot.users.Profpatsch.ini.externs;
|
|
|
|
|
|
|
|
in
|
|
{ inherit config; }
|