summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2021-12-12 13:30:53 +0800
committerGitHub <noreply@github.com>2021-12-12 13:30:53 +0800
commitebb5bd223c87b644540a4633a713c476d5ec1eb6 (patch)
tree104efe87a6feaf8a82dac096bb2610e7e98c0f49 /nixos
parente09a539ccbb089769644ca3449e6e3dec946fbca (diff)
parentc65f6852e4f5b28e12406b1876956763ef1eb8cd (diff)
downloadnixpkgs-ebb5bd223c87b644540a4633a713c476d5ec1eb6.tar
nixpkgs-ebb5bd223c87b644540a4633a713c476d5ec1eb6.tar.gz
nixpkgs-ebb5bd223c87b644540a4633a713c476d5ec1eb6.tar.bz2
nixpkgs-ebb5bd223c87b644540a4633a713c476d5ec1eb6.tar.lz
nixpkgs-ebb5bd223c87b644540a4633a713c476d5ec1eb6.tar.xz
nixpkgs-ebb5bd223c87b644540a4633a713c476d5ec1eb6.tar.zst
nixpkgs-ebb5bd223c87b644540a4633a713c476d5ec1eb6.zip
Merge pull request #150372 from bobby285271/pantheon
pantheon.appcenter: re-add patch for disable packagekit backend
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/x11/desktop-managers/pantheon.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/pantheon.xml b/nixos/modules/services/x11/desktop-managers/pantheon.xml
index 64933349e79..fe0a1c49622 100644
--- a/nixos/modules/services/x11/desktop-managers/pantheon.xml
+++ b/nixos/modules/services/x11/desktop-managers/pantheon.xml
@@ -105,8 +105,14 @@ switchboard-with-plugs.override {
     </term>
     <listitem>
      <para>
-      AppCenter has been available since 20.03, but it is of little use. This is because there is no functioning PackageKit backend for Nix 2.0. The Flatpak backend will not work before <link xlink:href="https://github.com/elementary/appcenter/issues/1076">flag for Flatpak-only</link> is provided. See this <link xlink:href="https://github.com/NixOS/nixpkgs/issues/70214">issue</link>.
+      AppCenter has been available since 20.03, but it is of little use. This is because there is no functioning PackageKit backend for Nix 2.0. Starting from 21.11, the Flatpak backend should work so you can install some Flatpak applications using it. See this <link xlink:href="https://github.com/NixOS/nixpkgs/issues/70214">issue</link>.
      </para>
+     <para>
+      To use AppCenter on NixOS, add <literal>pantheon.appcenter</literal> to <xref linkend="opt-environment.systemPackages" />, <link linkend="module-services-flatpak">enable Flatpak support</link> and optionally add the <literal>appcenter</literal> Flatpak remote:
+     </para>
+<screen>
+<prompt>$ </prompt>flatpak remote-add --if-not-exists appcenter https://flatpak.elementary.io/repo.flatpakrepo
+</screen>
     </listitem>
    </varlistentry>
   </variablelist>