Flatpak: Difference between revisions
m →Declarative: add exemples request |
feat: add directories to persist with impermanence |
||
| Line 23: | Line 23: | ||
{{file|3=export XDG_DATA_DIRS=$XDG_DATA_DIRS:/usr/share:/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share|name=.profile|lang=}} | {{file|3=export XDG_DATA_DIRS=$XDG_DATA_DIRS:/usr/share:/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share|name=.profile|lang=}} | ||
This is also required when installing <code>flatpak</code> on a per-user basis. | This is also required when installing <code>flatpak</code> on a per-user basis. | ||
=== With Impermanence === | |||
If you're using [[Impermanence]], you'll need to make sure you persist the directories that flatpak will be using | |||
* <code>/var/lib/flatpak</code> (for system configuration, repositories, etc.) | |||
* <code>~/.var/app</code> (for app data) | |||
* <code>~/.local/share/flatpak</code> (for user-specific configuration) | |||
The directories in your home (starting with <code>~</code>) will need to be persisted for every user who will use flatpak | |||
== Usage == | == Usage == | ||