mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
profiles/system: improve Flatpak installation
This commit is contained in:
parent
4278f62802
commit
873742d33c
@ -30,10 +30,16 @@ in {
|
|||||||
({
|
({
|
||||||
# Enable Flatpak for additional options for installing desktop applications.
|
# Enable Flatpak for additional options for installing desktop applications.
|
||||||
services.flatpak.enable = true;
|
services.flatpak.enable = true;
|
||||||
xdg.portal = {
|
xdg.portal.enable = true;
|
||||||
enable = true;
|
|
||||||
gtkUsePortal = true;
|
# Install the usual Flatpak remotes.
|
||||||
wlr.enable = true;
|
system.activationScripts = {
|
||||||
|
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-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 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.
|
||||||
|
Loading…
Reference in New Issue
Block a user