Flatpak: Difference between revisions

From NixOS Wiki
imported>Phrogg
(Added a new Section for issues)
imported>Phrogg
m (edited the link)
Line 17: Line 17:


== Issues ==
== Issues ==
If you have issues with cursors or themes in general, take a look at [https://nixos.wiki/wiki/Fonts Fonts]
If you have issues with cursors or themes in general, take a look at [https://nixos.wiki/wiki/Fonts#Flatpak_applications_can.27t_find_system_fonts Fonts]

Revision as of 13:21, 15 September 2022

Flatpak is a linux application sandboxing and distribution framework

Usage

Using this configuration, flatpak will be installed and ready for use:

/etc/nixos/configuration.nix
services.flatpak.enable = true;

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 greetd login manager and Sway create a .profile file with an override for your XDG_DATA_DIRS path, e.g.:

.profile
export XDG_DATA_DIRS:$XDG_DATA_DIRS:/usr/share:/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share


Issues

If you have issues with cursors or themes in general, take a look at Fonts