{ pkgs, lib, ...}: { # imports = [ # inputs.nix-flatpak.nixosModules.nix-flatpak # ]; services.flatpak = { enable = true; remotes = [ { name = "flathub"; location = "https://flathub.org/repo/flathub.flatpakrepo"; } ]; packages = [ "app.grayjay.Grayjay" "com.bktus.gpgfrontend" "com.github.tchx84.Flatseal" "com.obsproject.Studio" "fi.skyjake.Lagrange" "io.github.equicord.equibop" "net.lutris.Lutris" "org.localsend.localsend_app" "org.nicotine_plus.Nicotine" "org.musicbrainz.Picard" "org.telegram.desktop" ]; update = { auto = { enable = true; onCalendar = "weekly"; # Default value }; onActivation = true; }; 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"; }; }; }; }; }