fix(nixpak): allow document portal saves

This commit is contained in:
Ryan Yin
2026-08-01 09:37:43 +08:00
parent 3aadd65a36
commit 7826934b23
2 changed files with 4 additions and 2 deletions
+4 -1
View File
@@ -205,6 +205,10 @@ in
xdgCacheHome
]
# FileChooser may return a Document Portal path even for a directly mapped XDG directory;
# keep the FUSE mount writable so SaveFile can create the selected file.
(sloth.concat' sloth.runtimeDir "/doc")
(sloth.concat [
sloth.runtimeDir
"/"
@@ -220,7 +224,6 @@ in
(sloth.concat' sloth.xdgCacheHome "/radv_builtin_shaders")
];
bind.ro = [
(sloth.concat' sloth.runtimeDir "/doc")
(sloth.concat' sloth.xdgConfigHome "/kdeglobals")
(sloth.concat' sloth.xdgConfigHome "/gtk-2.0")
(sloth.concat' sloth.xdgConfigHome "/gtk-3.0")
-1
View File
@@ -54,7 +54,6 @@ in
"/run/dbus"
];
bind.ro = [
(envSuffix "XDG_RUNTIME_DIR" "/doc")
(sloth.concat' sloth.xdgConfigHome "/gtk-2.0")
(sloth.concat' sloth.xdgConfigHome "/gtk-3.0")
(sloth.concat' sloth.xdgConfigHome "/gtk-4.0")