From 5cda3b280539a5507f79fe674786fa8601cb1822 Mon Sep 17 00:00:00 2001 From: Colin Date: Fri, 16 Feb 2024 05:49:56 +0000 Subject: [PATCH] programs: firefox/fractal: document portal filechooser limitations --- hosts/common/programs/firefox.nix | 2 ++ hosts/common/programs/fractal.nix | 1 + 2 files changed, 3 insertions(+) diff --git a/hosts/common/programs/firefox.nix b/hosts/common/programs/firefox.nix index 4f1a76b4..8824152b 100644 --- a/hosts/common/programs/firefox.nix +++ b/hosts/common/programs/firefox.nix @@ -241,6 +241,8 @@ in sandbox.whitelistWayland = true; sandbox.extraHomePaths = [ "dev" # for developing anything web-related + # for uploads/downloads. + # it still needs these paths despite using the portal's file-chooser :? "tmp" "Pictures" "Pictures/servo-macros" diff --git a/hosts/common/programs/fractal.nix b/hosts/common/programs/fractal.nix index 71e61d87..22f6b0aa 100644 --- a/hosts/common/programs/fractal.nix +++ b/hosts/common/programs/fractal.nix @@ -35,6 +35,7 @@ in sandbox.whitelistDri = true; # otherwise video playback buuuuurns CPU sandbox.whitelistWayland = true; sandbox.extraHomePaths = [ + # still needs these paths despite it using the portal's file-chooser :? "Music" "Pictures" "Pictures/servo-macros"