From a15ffef4ce46e7a72d65527576a6e2c805d48f5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Thu, 7 Nov 2024 08:59:13 +0100 Subject: [PATCH] use xdg desktop portals in firefox --- programs/desktop/firefox/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/programs/desktop/firefox/default.nix b/programs/desktop/firefox/default.nix index dad28c02..66b5fee7 100644 --- a/programs/desktop/firefox/default.nix +++ b/programs/desktop/firefox/default.nix @@ -107,6 +107,11 @@ in { "extensions.autoDisableScopes" = 0; "toolkit.legacyUserProfileCustomizations.stylesheets" = true; "browser.tabs.inTitlebar" = 0; + "widget.use-xdg-desktop-portal.file-picker" = 1; + "widget.use-xdg-desktop-portal.location" = 1; + "widget.use-xdg-desktop-portal.mime-handler" = 1; + "widget.use-xdg-desktop-portal.open-uri" = 1; + "widget.use-xdg-desktop-portal.settings" = 1; }; userChrome = '' @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");