From bfd970a07c231b5781871c16cb4612eb4c6b8fd4 Mon Sep 17 00:00:00 2001 From: aethrvmn Date: Sun, 31 Aug 2025 16:21:34 +0200 Subject: imported system/home-manager config --- modules/client/flatpak/default.nix | 49 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 modules/client/flatpak/default.nix (limited to 'modules/client/flatpak') 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"; + }; + }; + }; + }; +} -- cgit v1.2.3