programs: firefox-xdg-open: restrict dbus
This commit is contained in:
@@ -3,7 +3,9 @@
|
|||||||
sane.programs.firefox-xdg-open = {
|
sane.programs.firefox-xdg-open = {
|
||||||
packageUnwrapped = pkgs.firefox-extensions.firefox-xdg-open.systemComponent;
|
packageUnwrapped = pkgs.firefox-extensions.firefox-xdg-open.systemComponent;
|
||||||
|
|
||||||
sandbox.whitelistDbus.user = true; #< TODO: reduce # for xdg-open/portals
|
sandbox.whitelistPortal = [
|
||||||
|
"OpenURI"
|
||||||
|
];
|
||||||
|
|
||||||
mime.associations."x-scheme-handler/xdg-open" = "xdg-open.desktop";
|
mime.associations."x-scheme-handler/xdg-open" = "xdg-open.desktop";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user