Flatpak: Difference between revisions

Onny (talk | contribs)
Emulate Flatpaks different architecture
imported from old wiki
Line 38: Line 38:
$ flatpak run org.freedesktop.Bustle
$ flatpak run org.freedesktop.Bustle
</syntaxHighlight>
</syntaxHighlight>
To automatically configure a flatpak repository for all users using the global configuration file, add this to your configuration.nix file.
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
  systemd.services.flatpak-repo = {
    wantedBy = [ "multi-user.target" ];
    path = [ pkgs.flatpak ];
    script = ''
      flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
    '';
  };
</nowiki>}}


== Development ==
== Development ==