Updated the README and the examples to include user wide installation of flatpak packages.

This commit is contained in:
Dávid Groniewsky
2025-10-01 11:19:04 +02:00
parent 613beaa917
commit 7320c88940
3 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
# Decman # Decman
> 🎉 Support for Flatpaks was just added! 🎉 > 🎉 Support for Flatpaks was just added! 🎉
> By default flatpak management this feature is disabled. Take a look at the example to learn how to use flatpaks. > By default flatpak management this feature is disabled. Take a look at the example to learn how to use flatpaks. You can install to the user as well as the system installation.
> 🎉 Decman now has a AUR package! 🎉 > 🎉 Decman now has a AUR package! 🎉
> >
+3
View File
@@ -116,6 +116,9 @@ class MyModule(Module):
def flatpak_packages(self) -> list[str]: def flatpak_packages(self) -> list[str]:
return ["org.mozilla.firefox"] return ["org.mozilla.firefox"]
def flatpak_user_packages(self) -> list[str]:
return ["org.github.kolunmi.Bazaar"]
def systemd_units(self) -> list[str]: def systemd_units(self) -> list[str]:
return ["reflector.timer"] return ["reflector.timer"]
+3
View File
@@ -37,6 +37,9 @@ decman.flatpak_packages += ["dev.qwery.AddWater"]
# They too can be ignored of course # They too can be ignored of course
decman.ignored_flatpak_packages += ["org.signal.Signal"] decman.ignored_flatpak_packages += ["org.signal.Signal"]
# You can also install them to your user installation instead of the system installation
decman.flatpak_user_packages += ["dev.zed.Zed"]
# To import GPG keys, set the GNUPGHOME environment variable. # To import GPG keys, set the GNUPGHOME environment variable.
# It can easily be done with python as well. # It can easily be done with python as well.
os.environ["GNUPGHOME"] = "/home/kk/.gnupg/" os.environ["GNUPGHOME"] = "/home/kk/.gnupg/"