diff options
Diffstat (limited to 'nixos/modules/services/desktops/flatpak.xml')
-rw-r--r-- | nixos/modules/services/desktops/flatpak.xml | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/nixos/modules/services/desktops/flatpak.xml b/nixos/modules/services/desktops/flatpak.xml index 8f080b250228..3b2ccd12cf59 100644 --- a/nixos/modules/services/desktops/flatpak.xml +++ b/nixos/modules/services/desktops/flatpak.xml @@ -5,44 +5,33 @@ xml:id="module-services-flatpak"> <title>Flatpak</title> <para> - <emphasis>Source:</emphasis> - <filename>modules/services/desktop/flatpak.nix</filename> + <emphasis>Source:</emphasis> <filename>modules/services/desktop/flatpak.nix</filename> </para> <para> - <emphasis>Upstream documentation:</emphasis> - <link xlink:href="https://github.com/flatpak/flatpak/wiki"/> + <emphasis>Upstream documentation:</emphasis> <link xlink:href="https://github.com/flatpak/flatpak/wiki"/> </para> <para> - Flatpak is a system for building, distributing, and running sandboxed desktop - applications on Linux. + Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. </para> <para> - To enable Flatpak, add the following to your - <filename>configuration.nix</filename>: + To enable Flatpak, add the following to your <filename>configuration.nix</filename>: <programlisting> <xref linkend="opt-services.flatpak.enable"/> = true; </programlisting> </para> <para> - For the sandboxed apps to work correctly, desktop integration portals need to - be installed. If you run GNOME, this will be handled automatically for you; - in other cases, you will need to add something like the following to your - <filename>configuration.nix</filename>: + For the sandboxed apps to work correctly, desktop integration portals need to be installed. If you run GNOME, this will be handled automatically for you; in other cases, you will need to add something like the following to your <filename>configuration.nix</filename>: <programlisting> <xref linkend="opt-xdg.portal.extraPortals"/> = [ pkgs.xdg-desktop-portal-gtk ]; </programlisting> </para> <para> - Then, you will need to add a repository, for example, - <link xlink:href="https://github.com/flatpak/flatpak/wiki">Flathub</link>, - either using the following commands: + Then, you will need to add a repository, for example, <link xlink:href="https://github.com/flatpak/flatpak/wiki">Flathub</link>, either using the following commands: <screen> <prompt>$ </prompt>flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo <prompt>$ </prompt>flatpak update </screen> - or by opening the - <link xlink:href="https://flathub.org/repo/flathub.flatpakrepo">repository - file</link> in GNOME Software. + or by opening the <link xlink:href="https://flathub.org/repo/flathub.flatpakrepo">repository file</link> in GNOME Software. </para> <para> Finally, you can search and install programs: |