From 893ea11e1dc05fe1a2a34e66d4ebcfdffda34720 Mon Sep 17 00:00:00 2001 From: aethrvmn Date: Sun, 30 Nov 2025 22:59:43 +0100 Subject: huge restructure of modules --- modules/flatpak/default.nix | 48 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 modules/flatpak/default.nix (limited to 'modules/flatpak') diff --git a/modules/flatpak/default.nix b/modules/flatpak/default.nix new file mode 100644 index 0000000..e5a636f --- /dev/null +++ b/modules/flatpak/default.nix @@ -0,0 +1,48 @@ +{ pkgs, lib, ...}: +{ + services.flatpak = { + enable = true; + + remotes = [ + { + name = "flathub"; + location = "https://flathub.org/repo/flathub.flatpakrepo"; + } + ]; + + packages = [ + "app.grayjay.Grayjay" + "com.github.tchx84.Flatseal" + "com.obsproject.Studio" + "fi.skyjake.Lagrange" + "media.emby.EmbyTheater" + "net.lutris.Lutris" + "org.gimp.GIMP" + "org.inkscape.Inkscape" + "org.localsend.localsend_app" + "org.musicbrainz.Picard" + "org.nickvision.money" + "org.nicotine_plus.Nicotine" + ]; + + update = { + auto = { + enable = true; + onCalendar = "weekly"; # Default value + }; + onActivation = true; + }; + + overrides = { + global = { + # Enable for both wayland and x11 + 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