diff options
Diffstat (limited to 'modules/flatpak/default.nix')
| -rw-r--r-- | modules/flatpak/default.nix | 48 |
1 files changed, 48 insertions, 0 deletions
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"; + }; + }; + }; + }; +} |
