From 8413f22bb39bd1c8adcf2ca9e6fcd4c59ddb3549 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Sat, 29 Sep 2018 20:51:11 -0400 Subject: docs: format --- nixos/modules/services/desktops/flatpak.xml | 71 +++++++++++++++-------------- 1 file changed, 37 insertions(+), 34 deletions(-) (limited to 'nixos/modules/services/desktops') diff --git a/nixos/modules/services/desktops/flatpak.xml b/nixos/modules/services/desktops/flatpak.xml index d9c8b711c450..8045d5fa14f8 100644 --- a/nixos/modules/services/desktops/flatpak.xml +++ b/nixos/modules/services/desktops/flatpak.xml @@ -3,51 +3,54 @@ xmlns:xi="http://www.w3.org/2001/XInclude" version="5.0" xml:id="module-services-flatpak"> - -Flatpak - -Source: modules/services/desktop/flatpak.nix - -Upstream documentation: - -Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. - - - To enable Flatpak, add the following to your configuration.nix: - - + Flatpak + + Source: + modules/services/desktop/flatpak.nix + + + Upstream documentation: + + + + Flatpak is a system for building, distributing, and running sandboxed desktop + applications on Linux. + + + To enable Flatpak, add the following to your + configuration.nix: + = true; - - - - 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 configuration.nix: - - + + + 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 + configuration.nix: + = [ pkgs.xdg-desktop-portal-gtk ]; - - - - Then, you will need to add a repository, for example, Flathub, either using the following commands: - - + + + Then, you will need to add a repository, for example, + Flathub, + either using the following commands: + flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo flatpak update - - or by opening the repository file in GNOME Software. - - - + or by opening the + repository + file in GNOME Software. + + Finally, you can search and install programs: - - + flatpak search bustle flatpak install flathub org.freedesktop.Bustle flatpak run org.freedesktop.Bustle - Again, GNOME Software offers graphical interface for these tasks. - + -- cgit 1.4.1