Flatpak: Difference between revisions

imported>Phrogg
added this page with basic instructions on how to enable flatpak and specific instructions on how to add it to the path on sway and greetd
 
imported>Phrogg
mNo edit summary
Line 10: Line 10:
After adding this line to your configuration file, flatpak will be installed, however it is not always added yo your path directly, e.g. when you are using sway it will be not.
After adding this line to your configuration file, flatpak will be installed, however it is not always added yo your path directly, e.g. when you are using sway it will be not.


To manually add it to path while using a [https://nixos.wiki/wiki/Greetd greetd] login manager and [https://nixos.wiki/wiki/Sway Sway] create a <code>.profile</profile> file with an override for your <code>XDG_DATA_DIRS</code> path, e.g.:
To manually add it to path while using a [https://nixos.wiki/wiki/Greetd greetd] login manager and [https://nixos.wiki/wiki/Sway Sway] create a <code>.profile</code> file with an override for your <code>XDG_DATA_DIRS</code> path, e.g.:
{{file|.profile|nix|<nowiki>
{{file|.profile|nix|<nowiki>
export XDG_DATA_DIRS:$XDG_DATA_DIRS:/usr/share:/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share
export XDG_DATA_DIRS:$XDG_DATA_DIRS:/usr/share:/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share
</nowiki>}}
</nowiki>}}