diff --git a/configuration.nix b/configuration.nix index 174b396..2afdd4e 100644 --- a/configuration.nix +++ b/configuration.nix @@ -213,6 +213,15 @@ services.timesyncd = { systemd.services."getty@tty1".enable = false; systemd.services."autovt@tty1".enable = false; + # XDG Portals for Flatpak compatibility + # Portals help sandboxed Flatpak apps talk to your desktop (file picker, notifications, etc). + xdg.portal.enable = true; + + # Enable both KDE and GTK backends for compatibility. + xdg.portal.extraPortals = [ + pkgs.xdg-desktop-portal-gtk + ]; + # Programs # ===================== # Most programs installed in modules/programs.nix