evolution-data-server: disable webkitgtk features

This commit is contained in:
2024-12-12 21:20:25 +00:00
parent eab6cf88dd
commit c403a3cc6e

View File

@@ -1,7 +1,6 @@
# evolution-data-server (e-d-s) exposes DBus services for managing contacts and calendars.
#
# TODO:
# - remove webkitgtk dependency
# TODO: setup plaintext backend (e.g. vcard import/export; or CardDAV with a plaintext backend like radicale)
#
# common users include:
# - `folks` (for contacts only, used in turn by `gnome-calls`, `gnome-contacts`, et al.)
@@ -68,12 +67,18 @@
# - WEBCAL_DEBUG
# - WEBDAV_DEBUG
# - WEBDAV_NOTES_DEBUG
{ config, ... }:
{ config, pkgs, ... }:
let
cfg = config.sane.programs."evolution-data-server";
in
{
sane.programs."evolution-data-server" = {
packageUnwrapped = pkgs.evolution-data-server.override {
# disable the UI; avoid a dep on webkitgtk (if this is too blunt, specify `enableOAuth2 = false;` instead)
withGtk3 = false;
withGtk4 = false;
};
sandbox.whitelistDbus = [ "user" ];
persist.byStore.ephemeral = [