aboutsummaryrefslogtreecommitdiff
path: root/modules/client/flatpak/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/client/flatpak/default.nix')
-rw-r--r--modules/client/flatpak/default.nix49
1 files changed, 49 insertions, 0 deletions
diff --git a/modules/client/flatpak/default.nix b/modules/client/flatpak/default.nix
new file mode 100644
index 0000000..63d5669
--- /dev/null
+++ b/modules/client/flatpak/default.nix
@@ -0,0 +1,49 @@
+{ pkgs, lib, ...}:
+{
+ # imports = [
+ # inputs.nix-flatpak.nixosModules.nix-flatpak
+ # ];
+
+ services.flatpak = {
+ enable = true;
+
+ remotes = [
+ {
+ name = "flathub";
+ location = "https://flathub.org/repo/flathub.flatpakrepo";
+ }
+ ];
+
+ packages = [
+ "eu.betterbird.Betterbird"
+ "io.github.equicord.equibop"
+ "com.github.tchx84.Flatseal"
+ "app.grayjay.Grayjay"
+ "fi.skyjake.Lagrange"
+ "org.localsend.localsend_app"
+ "net.lutris.Lutris"
+ "org.nicotine_plus.Nicotine"
+ "org.musicbrainz.Picard"
+ "com.obsproject.Studio"
+ "org.telegram.desktop"
+ "com.rtosta.zapzap"
+ ];
+
+ update.auto = {
+ enable = true;
+ onCalendar = "weekly"; # Default value
+ };
+
+ overrides = {
+ global = {
+ # Force Wayland by default
+ Context.sockets = [ "wayland" "!x11" "!fallback-x11" ];
+
+ Environment = {
+ # Fix un-themed cursor in some Wayland apps
+ XCURSOR_PATH = "/run/host/user-share/icons:/run/host/share/icons";
+ };
+ };
+ };
+ };
+}
Directive (EU) 2019/790, Article 4(3); all rights regarding Text and Data Mining (TDM) are reserved.