evolution-data-server: disable webkitgtk features
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
# evolution-data-server (e-d-s) exposes DBus services for managing contacts and calendars.
|
# evolution-data-server (e-d-s) exposes DBus services for managing contacts and calendars.
|
||||||
#
|
#
|
||||||
# TODO:
|
# TODO: setup plaintext backend (e.g. vcard import/export; or CardDAV with a plaintext backend like radicale)
|
||||||
# - remove webkitgtk dependency
|
|
||||||
#
|
#
|
||||||
# common users include:
|
# common users include:
|
||||||
# - `folks` (for contacts only, used in turn by `gnome-calls`, `gnome-contacts`, et al.)
|
# - `folks` (for contacts only, used in turn by `gnome-calls`, `gnome-contacts`, et al.)
|
||||||
@@ -68,12 +67,18 @@
|
|||||||
# - WEBCAL_DEBUG
|
# - WEBCAL_DEBUG
|
||||||
# - WEBDAV_DEBUG
|
# - WEBDAV_DEBUG
|
||||||
# - WEBDAV_NOTES_DEBUG
|
# - WEBDAV_NOTES_DEBUG
|
||||||
{ config, ... }:
|
{ config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
cfg = config.sane.programs."evolution-data-server";
|
cfg = config.sane.programs."evolution-data-server";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
sane.programs."evolution-data-server" = {
|
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" ];
|
sandbox.whitelistDbus = [ "user" ];
|
||||||
|
|
||||||
persist.byStore.ephemeral = [
|
persist.byStore.ephemeral = [
|
||||||
|
Reference in New Issue
Block a user