profiles/system: update Flatpak remotes installation priority

This commit is contained in:
Gabriel Arazas 2022-07-16 17:26:26 +08:00
parent 617a02f382
commit ffd2d84b7d

View File

@ -32,14 +32,12 @@ in {
xdg.portal.enable = true; xdg.portal.enable = true;
# Install the usual Flatpak remotes. # Install the usual Flatpak remotes.
system.activationScripts = { system.activationScripts.flatpak-remote.text = lib.mkAfter ''
flatpak-remote.text = '' ${pkgs.flatpak}/bin/flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
${pkgs.flatpak}/bin/flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo ${pkgs.flatpak}/bin/flatpak remote-add --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo
${pkgs.flatpak}/bin/flatpak remote-add --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo ${pkgs.flatpak}/bin/flatpak remote-add --if-not-exists gnome-nightly https://nightly.gnome.org/gnome-nightly.flatpakrepo
${pkgs.flatpak}/bin/flatpak remote-add --if-not-exists gnome-nightly https://nightly.gnome.org/gnome-nightly.flatpakrepo ${pkgs.flatpak}/bin/flatpak remote-add --if-not-exists kdeapps https://distribute.kde.org/kdeapps.flatpakrepo
${pkgs.flatpak}/bin/flatpak remote-add --if-not-exists kdeapps https://distribute.kde.org/kdeapps.flatpakrepo '';
'';
};
# Enable font-related options for more smoother and consistent experience. # Enable font-related options for more smoother and consistent experience.
fonts.fontconfig.enable = true; fonts.fontconfig.enable = true;