{ config, pkgs, ... }: { services.flatpak.enable = true; fileSystems."/var/lib/flatpak" = { device = "/srv/flatpak"; options = ["bind"]; }; xdg.portal = { enable = true; extraPortals = [pkgs.xdg-desktop-portal-gtk]; }; }