From 0ef321ad6f4273ae028a278dde43a3119f5f37a7 Mon Sep 17 00:00:00 2001 From: Ophestra Umiker Date: Mon, 9 Sep 2024 23:22:07 +0900 Subject: [PATCH] update README document Signed-off-by: Ophestra Umiker --- README.md | 44 ++++++++++++++++++++++++++++++++------------ 1 file changed, 32 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 82f55a2..7e286b2 100644 --- a/README.md +++ b/README.md @@ -82,18 +82,36 @@ This adds the `environment.fortify` option: share = pkgs.vesktop; }; - chromium.dbus.config = { - talk = [ - "org.freedesktop.DBus" - "org.freedesktop.portal.*" - "org.freedesktop.FileManager1" - "org.freedesktop.Notifications" - "org.freedesktop.ScreenSaver" - ]; - own = [ - "org.chromium.Chromium" - "org.mpris.MediaPlayer2.chromium.*" - ]; + chromium.dbus = { + configSystem = { + talk = [ + "org.bluez" + "org.freedesktop.Avahi" + "org.freedesktop.UPower" + ]; + }; + config = { + talk = [ + "org.freedesktop.DBus" + "org.freedesktop.FileManager1" + "org.freedesktop.Notifications" + "org.freedesktop.ScreenSaver" + "org.freedesktop.secrets" + "org.kde.kwalletd5" + "org.kde.kwalletd6" + ]; + own = [ + "org.chromium.Chromium.*" + "org.mpris.MediaPlayer2.org.chromium.Chromium.*" + "org.mpris.MediaPlayer2.chromium.*" + ]; + call = { + "org.freedesktop.portal.*" = "*"; + }; + broadcast = { + "org.freedesktop.portal.*" = "@/org/freedesktop/portal/*"; + }; + }; }; }; packages = with pkgs; [ @@ -143,6 +161,8 @@ This adds the `environment.fortify` option: * `dbus.config`, D-Bus proxy custom configuration. + * `dbus.configSystem`, D-Bus system bus custom configuration, null to disable. + * `dbus.id`, D-Bus application id, has no effect if `dbus.config` is set. * `dbus.mpris`, whether to enable MPRIS defaults, has no effect if `dbus.config` is set.