aboutsummaryrefslogtreecommitdiff
path: root/modules/flatpak/default.nix
diff options
context:
space:
mode:
authoraethrvmn <me@aethrvmn.gr>2025-11-30 21:59:43 +0000
committeraethrvmn <me@aethrvmn.gr>2025-11-30 21:59:43 +0000
commit893ea11e1dc05fe1a2a34e66d4ebcfdffda34720 (patch)
treeef454e299f49cbb58e1b9fbafd0b759b4379ac2a /modules/flatpak/default.nix
parentadded .lock to ignorelist (diff)
huge restructure of modules
Diffstat (limited to 'modules/flatpak/default.nix')
-rw-r--r--modules/flatpak/default.nix48
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";
+ };
+ };
+ };
+ };
+}
Directive (EU) 2019/790, Article 4(3); all rights regarding Text and Data Mining (TDM) are reserved.