diff options
| author | aethrvmn <me@aethrvmn.gr> | 2025-08-31 14:21:34 +0000 |
|---|---|---|
| committer | aethrvmn <me@aethrvmn.gr> | 2025-08-31 14:21:34 +0000 |
| commit | bfd970a07c231b5781871c16cb4612eb4c6b8fd4 (patch) | |
| tree | 50a4ac5138d1f438e4d5bad3a3dd880a0784cd3e /modules/client/flatpak | |
| parent | added flake (diff) | |
imported system/home-manager config
Diffstat (limited to 'modules/client/flatpak')
| -rw-r--r-- | modules/client/flatpak/default.nix | 49 |
1 files changed, 49 insertions, 0 deletions
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"; + }; + }; + }; + }; +} |
