added XDG portals

This commit is contained in:
Elias Gasparis 2025-06-20 09:48:43 +08:00
parent c7947fcf46
commit b7aa8b90e5

View file

@ -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