programs: discord: restrict dbus

This commit is contained in:
2025-01-10 00:26:47 +00:00
parent 95839bfad8
commit b40d2cc2a5

View File

@@ -11,7 +11,11 @@
persist.byStore.private = [ ".config/discord" ];
sandbox.wrapperType = "inplace"; #< package contains broken symlinks that my wrapper can't handle
sandbox.whitelistAudio = true;
sandbox.whitelistDbus.user = true; #< TODO: reduce # needed for xdg-open
# sandbox.whitelistDbus.user.own = [ ":*" ]; #< does not own any well-known name
sandbox.whitelistPortal = [
# "FileChooser" #< does not use file chooser
"OpenURI"
];
sandbox.whitelistDri = true; #< required for even basic graphics (e.g. rendering a window)
sandbox.whitelistWayland = true;
sandbox.net = "clearnet";